Skip to content

Commit bf8b824

Browse files
authored
ci: add test for ESLint 9.14 and 9.15 (#62)
1 parent 7730806 commit bf8b824

File tree

3 files changed

+609
-669
lines changed

3 files changed

+609
-669
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ on:
1414

1515
jobs:
1616
test:
17-
name: Test (Node ${{ matrix.node }})
17+
name: Test (Node ${{ matrix.node }}, ESLint ${{ matrix.eslint }})
1818
runs-on: ubuntu-latest
1919

2020
strategy:
2121
fail-fast: true
2222
matrix:
2323
node: [18, 20, 22]
24+
eslint: ['latest']
25+
include:
26+
- node: 22
27+
eslint: 9.14
28+
- node: 22
29+
eslint: 9.15
2430

2531
steps:
2632
- name: Checkout
@@ -31,6 +37,10 @@ jobs:
3137
with:
3238
node-version: ${{ matrix.node }}
3339

40+
- name: Install ESLint ${{ matrix.eslint }}
41+
if: matrix.eslint != 'latest'
42+
run: pnpm add -d -w eslint@${{ matrix.eslint }}
43+
3444
- name: Build
3545
run: pnpm run build
3646

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@
5252
},
5353
"devDependencies": {
5454
"@changesets/changelog-github": "0.5.0",
55-
"@changesets/cli": "2.27.9",
56-
"@eslint/js": "9.14.0",
55+
"@changesets/cli": "2.27.10",
56+
"@eslint/js": "9.16.0",
5757
"@marcalexiei/prettier-config": "1.0.4",
5858
"@rollup/plugin-typescript": "12.1.1",
5959
"@types/estree": "1.0.6",
6060
"@types/json-schema": "7.0.15",
61-
"@types/node": "20.17.6",
62-
"@typescript-eslint/parser": "8.13.0",
63-
"eslint": "9.14.0",
61+
"@types/node": "22.10.1",
62+
"@typescript-eslint/parser": "8.16.0",
63+
"eslint": "9.16.0",
6464
"eslint-doc-generator": "1.7.1",
65-
"eslint-plugin-eslint-plugin": "6.3.1",
66-
"eslint-plugin-n": "17.13.1",
67-
"prettier": "3.3.3",
68-
"rollup": "4.25.0",
69-
"typescript": "5.6.3",
70-
"typescript-eslint": "8.13.0",
71-
"vitest": "2.1.4"
65+
"eslint-plugin-eslint-plugin": "6.3.2",
66+
"eslint-plugin-n": "17.14.0",
67+
"prettier": "3.4.1",
68+
"rollup": "4.28.0",
69+
"typescript": "5.7.2",
70+
"typescript-eslint": "8.16.0",
71+
"vitest": "2.1.6"
7272
}
7373
}

0 commit comments

Comments
 (0)