Skip to content

Commit d70d99a

Browse files
committed
Add Node.js 24.x to CI matrix and restrict Codecov to 22.x runs
1 parent 0a0c49e commit d70d99a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/node.js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [22.x]
19+
node-version: [22.x, 24.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
@@ -36,9 +36,11 @@ jobs:
3636
run: npm run build --if-present
3737

3838
- name: Run unit tests with coverage
39+
if: matrix.node-version == '22.x'
3940
run: npm run test:coverage
4041

4142
- name: Upload coverage to Codecov
43+
if: matrix.node-version == '22.x'
4244
uses: codecov/codecov-action@v5
4345
with:
4446
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)