v2.23.0 #1470
This file contains hidden or 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: Linters | |
| on: | |
| push: | |
| branches: [ devel ] | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: latest | |
| cache: npm | |
| - name: Install dependencies | |
| env: | |
| # Tell Puppeteer to skip installing Chrome, not really needed for linting | |
| PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | |
| run: npm ci | |
| - name: Run prettier | |
| run: npx prettier --check . | |
| - name: Run eslint | |
| run: npm run lint | |
| - name: Run depcheck | |
| run: npx depcheck |