Skip to content

Commit 587cb6a

Browse files
committed
ci(eslint-9+): Fix ESLint 9 parser setup
Pin the ESLint 9 jobs to `typescript-eslint/parser@8.17` without installing an additional version of TypeScript. Keep the ESLint 10 jobs on `typescript-eslint/parser@canary` with TypeScript 5.
1 parent ce2e7c7 commit 587cb6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/eslint-9+.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
node-version: ${{ matrix.node-version }}
5252
after_install: |
53-
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.eslint == 10 && 'canary' || matrix.typescript-eslint }}" "babel-eslint@${{ matrix.babel-eslint }}"${{ matrix.eslint == 10 && ' "typescript@5"' || '' }}
53+
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.eslint == 10 && 'canary' || '8.17' }}" "babel-eslint@${{ matrix.babel-eslint }}"${{ matrix.eslint == 10 && ' "typescript@5"' || '' }}
5454
skip-ls-check: true
5555
- run: npx ls-engines
5656
- run: npm run unit-test

0 commit comments

Comments
 (0)