test(web): add eslint and PR lint validation

This commit is contained in:
Paul Armstrong authored and Blake Blackshear committed 2021-02-20 08:20:17 -06:00
1 parent 513a099c24
commit daa759cc55
33 files changed
+5190 -505

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
name: On pull request
on: pull_request
jobs:
web_lint:
name: Web - Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 14.x
- run: npm install
working-directory: ./web
- name: Lint
run: npm run lint:cmd
working-directory: ./web
web_build:
name: Web - Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 14.x
- run: npm install
working-directory: ./web
- name: Build
run: npm run build
working-directory: ./web