Skip to content

Commit

Permalink
ci: run test on node v22
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed May 6, 2024
1 parent 6db5604 commit 929a17d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 22
- 21
- 20
- 18
Expand All @@ -22,7 +23,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install --force # ts-eslint does not support eslint v9 yet.
- run: npm install
- run: npm test

lint:
Expand All @@ -32,7 +33,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm install --force # ts-eslint does not support eslint v9 yet.
- run: npm install
- run: npm run lint

eslint8:
Expand All @@ -42,7 +43,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm install --force # ts-eslint does not support eslint v9 yet.
- run: npm install
- run: npm install --save-dev eslint@8
- run: npm test

Expand All @@ -54,6 +55,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm install --force # ts-eslint does not support eslint v9 yet.
- run: npm install
- run: npm install --save-dev eslint@8 # eslint-remote-tester does not support eslint v9.
- run: npm run test:remote
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry = https://registry.npmjs.org/
package-lock = false
force = true

0 comments on commit 929a17d

Please sign in to comment.