Skip to content

Commit 929a17d

Browse files
committed
ci: run test on node v22
1 parent 6db5604 commit 929a17d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: .github/workflows/main.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
node-version:
15+
- 22
1516
- 21
1617
- 20
1718
- 18
@@ -22,7 +23,7 @@ jobs:
2223
- uses: actions/setup-node@v4
2324
with:
2425
node-version: ${{ matrix.node-version }}
25-
- run: npm install --force # ts-eslint does not support eslint v9 yet.
26+
- run: npm install
2627
- run: npm test
2728

2829
lint:
@@ -32,7 +33,7 @@ jobs:
3233
- uses: actions/setup-node@v4
3334
with:
3435
node-version: "lts/*"
35-
- run: npm install --force # ts-eslint does not support eslint v9 yet.
36+
- run: npm install
3637
- run: npm run lint
3738

3839
eslint8:
@@ -42,7 +43,7 @@ jobs:
4243
- uses: actions/setup-node@v4
4344
with:
4445
node-version: "lts/*"
45-
- run: npm install --force # ts-eslint does not support eslint v9 yet.
46+
- run: npm install
4647
- run: npm install --save-dev eslint@8
4748
- run: npm test
4849

@@ -54,6 +55,6 @@ jobs:
5455
- uses: actions/setup-node@v4
5556
with:
5657
node-version: "lts/*"
57-
- run: npm install --force # ts-eslint does not support eslint v9 yet.
58+
- run: npm install
5859
- run: npm install --save-dev eslint@8 # eslint-remote-tester does not support eslint v9.
5960
- run: npm run test:remote

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
registry = https://registry.npmjs.org/
22
package-lock = false
3+
force = true

0 commit comments

Comments
 (0)