Turn on lint for PR and master

This commit is contained in:
Efremov Alexey 2021-08-31 16:35:04 +03:00
parent 137ff3baf7
commit baa8d36117
1 changed files with 8 additions and 2 deletions

View File

@ -10,10 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install modules
run: yarn
run: yarn install
working-directory: ./js
- name: Run ESLint
run: yarn lint:eslint
working-directory: ./js