Skip to content

chore: add Codecov and upgrade CI to Node 22/24 LTS and MongoDB 7#3118

Merged
PierreBrisorgueil merged 4 commits intomasterfrom
feat/add-codecov
Feb 17, 2026
Merged

chore: add Codecov and upgrade CI to Node 22/24 LTS and MongoDB 7#3118
PierreBrisorgueil merged 4 commits intomasterfrom
feat/add-codecov

Conversation

@PierreBrisorgueil
Copy link
Contributor

Summary

  • Replace Coveralls with Codecov (codecov-action@v5) — requires adding CODECOV_TOKEN secret in repo settings
  • Update Node.js CI matrix: 20.x22.x (Active LTS) + 24.x (latest LTS)
  • Update MongoDB CI matrix: 6.0/7.07.0 (LTS only, drops EOL 6.0)
  • Bump engines.node in package.json: >=20.10.0>=22.0.0

Test plan

  • Add CODECOV_TOKEN secret in GitHub repo settings (Settings → Secrets and variables → Actions)
  • Verify CI passes on both Node 22.x and 24.x with MongoDB 7.0
  • Check coverage report appears on Codecov dashboard after CI run

- 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
Copilot AI review requested due to automatic review settings February 17, 2026 15:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request modernizes the CI/CD infrastructure by upgrading to newer LTS versions of Node.js and MongoDB, while migrating coverage reporting from Coveralls to Codecov. The changes align the project with current Node.js Active LTS releases (22.x) and latest LTS (24.x), drop end-of-life MongoDB 6.0, and adopt Codecov for more comprehensive coverage reporting.

Changes:

  • Updated Node.js engine requirement from >=20.10.0 to >=22.0.0 in package.json
  • Upgraded CI matrix to test against Node.js 22.x and 24.x (previously 20.x)
  • Simplified MongoDB CI testing to MongoDB 7.0 only (removed EOL 6.0)
  • Replaced Coveralls with Codecov for coverage reporting using codecov-action@v5

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
package.json Updated Node.js engine requirement to >=22.0.0 to enforce minimum version compatibility
.github/workflows/CI.yml Updated CI matrix to Node.js 22.x/24.x and MongoDB 7.0 only; replaced Coveralls with Codecov action

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Auto-detected from GitHub repository context.
- Update README: Node >= 20 LTS -> >= 22 LTS, prerequisites 20.x/22.x -> 22.x/24.x
- Remove coveralls devDependency and test:coveralls script (replaced by Codecov)
Copilot AI review requested due to automatic review settings February 17, 2026 15:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Node 22 and 24 are both tested in CI; drop the LTS qualifier to avoid
version-specific confusion.
@PierreBrisorgueil PierreBrisorgueil merged commit f2f2046 into master Feb 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant