Turn on lint for PR and master
This commit is contained in:
parent
137ff3baf7
commit
baa8d36117
|
@ -10,10 +10,16 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: yarn
|
run: yarn install
|
||||||
working-directory: ./js
|
working-directory: ./js
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: yarn lint:eslint
|
run: yarn lint:eslint
|
||||||
working-directory: ./js
|
working-directory: ./js
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue