Bump eslint from 9.39.4 to 10.1.0 #34
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: Lint | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| name: ESLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Install Node v21 | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 21 | |
| - name: Install NPM v6 (latest installs all packages) | |
| run: npm install -g npm@6 | |
| - name: Install ESLint v9 | |
| run: npm install eslint@9 | |
| - name: Install ESLint Configs and Plugins | |
| run: npm install @eslint/js@9 globals eslint-config-amber eslint-plugin-jsonc jest@24 | |
| - name: Run Tests | |
| run: npm test | |
| - name: Run eslint | |
| run: npm run lint | |