Skip to content

Commit da7c4b2

Browse files
authored
Run tests on Node.js v22 & v24 (#2429)
1 parent 198f6b7 commit da7c4b2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
lint:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/setup-node@v3
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
2222
with:
2323
cache: "yarn"
2424
- run: yarn install --frozen-lockfile
@@ -30,24 +30,25 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest, macos-latest, windows-latest]
33-
node-version: [16.x, 18.x, 20.x]
33+
node-version: [16.x, 18.x, 20.x, 22.x, 24.x]
3434

3535
env:
3636
ENABLE_COVERAGE: true
3737
AST_COMPARE: true
3838

3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4141
- name: Use Node.js ${{ matrix.node-version }}
42-
uses: actions/setup-node@v3
42+
uses: actions/setup-node@v4
4343
with:
4444
node-version: ${{ matrix.node-version }}
4545
cache: "yarn"
4646
- run: yarn install --frozen-lockfile
4747
- run: yarn c8 yarn test:node
4848
- uses: codecov/codecov-action@v5
4949
with:
50-
token: ${{ secrets.CODECOV_TOKEN }}
5150
fail_ci_if_error: true
51+
disable_search: true
5252
files: coverage/lcov.info
53+
token: ${{ secrets.CODECOV_TOKEN }}
5354
- run: yarn test:standalone

0 commit comments

Comments
 (0)