aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-10 15:31:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-07-10 15:31:39 -0700
commite0a5e650ba33f4add5413124c84d340916065f3c (patch)
treec5658dc7e0cd2aa3fd001ea4c6d0d6cc5dfb010e /.github/workflows
parent0512964d71a25c172735f2149ef60c3a8b20f683 (diff)
downloadtrackermap-web-e0a5e650ba33f4add5413124c84d340916065f3c.tar.gz
trackermap-web-e0a5e650ba33f4add5413124c84d340916065f3c.tar.bz2
trackermap-web-e0a5e650ba33f4add5413124c84d340916065f3c.zip
Enable new app linting
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/new.yml20
-rw-r--r--.github/workflows/old.yml (renamed from .github/workflows/node.js.yml)2
2 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/new.yml b/.github/workflows/new.yml
new file mode 100644
index 00000000..58956106
--- /dev/null
+++ b/.github/workflows/new.yml
@@ -0,0 +1,20 @@
+name: New App Lint
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v1
+ - run: npm install
+ working-directory: modern
+ - run: npm run lint
+ working-directory: modern
diff --git a/.github/workflows/node.js.yml b/.github/workflows/old.yml
index a4ba2ea9..2f9f39f0 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/old.yml
@@ -1,4 +1,4 @@
-name: Node.js CI
+name: Old App Lint
on:
push: