analytics add runId #138
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: pnpm/action-setup@v2 | |
with: | |
version: 8.15.6 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
cache-dependency-path: 'src/frontend/pnpm-lock.yaml' | |
- name: "Install dependencies" | |
run: pnpm install | |
working-directory: "src/frontend" | |
- name: "Lint admin js" | |
working-directory: "src/frontend/admin" | |
run: npm run lint:js |