Oracle tools #109
Workflow file for this run
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 admin | |
on: | |
push: | |
paths: | |
- src/frontend/admin/** | |
pull_request: | |
paths: | |
- src/frontend/admin/** | |
jobs: | |
lint: | |
name: Lint admin | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
cache-dependency-path: 'src/frontend/package-lock.json' | |
- name: "Install dependencies" | |
run: npm ci | |
working-directory: "src/frontend" | |
- name: "Lint admin js" | |
working-directory: "src/frontend/admin" | |
run: npm run lint:js |