Skip to content

Commit

Permalink
test: run against ESLint v9 (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Oct 18, 2024
1 parent ca53641 commit 9a4d7e9
Show file tree
Hide file tree
Showing 11 changed files with 488 additions and 303 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/verifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,26 @@ jobs:
tests:
name: Tests (Node v${{ matrix.node }} - ESLint v${{ matrix.eslint }})
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
fail-fast: false
matrix:
node: [12.22.0, 12, 14.17.0, 14, 16, 17, 18, 19, 20, 22]
eslint: [7.5, 7, 8]
eslint: [7.5, 7, 8, 9]
exclude:
# eslint@9 doesn't support < Node v18
- node: 17
eslint: 9
- node: 16
eslint: 9
- node: 14
eslint: 9
- node: 14.17.0
eslint: 9
- node: 12
eslint: 9
- node: 12.22.0
eslint: 9
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -49,6 +64,10 @@ jobs:
- name: Install dependencies
run: npm install

# see https://github.com/npm/cli/issues/7349
- if: ${{ matrix.eslint == 9 }}
run: npm un @typescript-eslint/eslint-plugin eslint-plugin-jest eslint-doc-generator

- name: Install ESLint v${{ matrix.eslint }}
run: npm install --no-save --force eslint@${{ matrix.eslint }}

Expand Down
Loading

0 comments on commit 9a4d7e9

Please sign in to comment.