Skip to content

Commit 6e84079

Browse files
chore: add Codecov and upgrade CI to Node 22/24 LTS and MongoDB 7
- Replace Coveralls with Codecov (codecov-action@v5) - Update Node.js matrix from 20.x to 22.x (LTS) and 24.x (latest) - Update MongoDB matrix from 6.0/7.0 to 7.0 (LTS only) - Bump engines.node requirement from >=20.10.0 to >=22.0.0
1 parent a1296b6 commit 6e84079

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20.x]
16-
mongodb-version: ['6.0', '7.0']
15+
node-version: [22.x, 24.x]
16+
mongodb-version: ['7.0']
1717

1818
steps:
1919
- uses: actions/checkout@v4
@@ -31,7 +31,8 @@ jobs:
3131
npm i
3232
npm run lint
3333
npm run test:coverage
34-
- name: Coveralls
35-
uses: coverallsapp/github-action@master
34+
- name: Upload coverage reports to Codecov
35+
uses: codecov/codecov-action@v5
3636
with:
37-
github-token: ${{ secrets.GITHUB_TOKEN }}
37+
token: ${{ secrets.CODECOV_TOKEN }}
38+
slug: pierreb-devkit/Node

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"url": "https://github.com/pierreb-devkit/Node.git"
2121
},
2222
"engines": {
23-
"node": ">=20.10.0"
23+
"node": ">=22.0.0"
2424
},
2525
"scripts": {
2626
"start": "node server.js",

0 commit comments

Comments
 (0)