Skip to content

Commit a4b95d7

Browse files
committed
ci: skip lint project on eslint v9
1 parent c0c2c01 commit a4b95d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/nodejs.yml

+7
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,17 @@ jobs:
102102
yarn
103103
yarn add --dev eslint@${{ matrix.eslint-version }} @typescript-eslint/eslint-plugin@${{ matrix.ts-eslint-plugin-version }} @typescript-eslint/parser@${{ matrix.ts-eslint-plugin-version }}
104104
- name: run tests
105+
if: ${{ matrix.eslint-version <= 8 }}
105106
# only collect coverage on eslint versions that support dynamic import
106107
run: yarn test --coverage ${{ matrix.eslint-version >= 8 }}
107108
env:
108109
CI: true
110+
- name: run tests
111+
if: ${{ matrix.eslint-version == 'next' }}
112+
# ESLint v9 requires us to use flat configs, so we can't run linting
113+
run: yarn test --coverage --ignore-projects lint
114+
env:
115+
CI: true
109116
- uses: codecov/codecov-action@v3
110117
if: ${{ matrix.eslint-version >= 8 }}
111118
test-ubuntu:

0 commit comments

Comments
 (0)