aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/modern.yml
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-16 09:17:59 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-16 09:17:59 -0700
commit21c137d5be6c16ae461ee557de1b1b444e4d6db2 (patch)
tree522476f807c07c71dc94644d6cf35394d4b6f9f5 /.github/workflows/modern.yml
parent85a3576f3046f5bcf3bbac6ad952ef180762fd51 (diff)
downloadtrackermap-web-21c137d5be6c16ae461ee557de1b1b444e4d6db2.tar.gz
trackermap-web-21c137d5be6c16ae461ee557de1b1b444e4d6db2.tar.bz2
trackermap-web-21c137d5be6c16ae461ee557de1b1b444e4d6db2.zip
Rename actions
Diffstat (limited to '.github/workflows/modern.yml')
-rw-r--r--.github/workflows/modern.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/modern.yml b/.github/workflows/modern.yml
new file mode 100644
index 00000000..56e2810b
--- /dev/null
+++ b/.github/workflows/modern.yml
@@ -0,0 +1,23 @@
+name: Modern App Lint
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
+ with:
+ cache: npm
+ cache-dependency-path: modern/package-lock.json
+ - run: npm ci
+ working-directory: modern
+ - run: npm run lint
+ working-directory: modern