fix broken pvp #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint overlay | |
on: | |
push: | |
paths: | |
- src/frontend/overlay/** | |
pull_request: | |
paths: | |
- src/frontend/overlay/** | |
jobs: | |
lint: | |
name: Lint overlay | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
cache-dependency-path: 'src/frontend/package-lock.json' | |
- name: "Install dependencies" | |
run: npm ci | |
working-directory: "src/frontend" | |
- name: "Lint overlay js" | |
working-directory: "src/frontend/overlay" | |
run: npm run lint:js | |
- name: "Lint overlay css" | |
working-directory: "src/frontend/overlay" | |
run: npm run lint:css |