Skip to content

Support node 25 in CI, drop support to node 18#91

Merged
carlosantoniodasilva merged 5 commits intomainfrom
ca-versions
Feb 5, 2026
Merged

Support node 25 in CI, drop support to node 18#91
carlosantoniodasilva merged 5 commits intomainfrom
ca-versions

Conversation

@carlosantoniodasilva
Copy link
Member

@carlosantoniodasilva carlosantoniodasilva commented Feb 3, 2026

Node v18 is no longer officially supported.
https://nodejs.org/en/about/previous-releases

A few more changes:

  • updates actions/checkout and actions/cache to latest
  • fix build matrix to properly install & run tests on different framework versions
  • add node version & framework version to cache keys so they are fully isolated
  • add express support/tests to v5
  • add fastify support/tests to v5, drop v3

Node v18 is no longer officially supported.
https://nodejs.org/en/about/previous-releases

Also update actions/checkout and actions/cache to latest.
@carlosantoniodasilva carlosantoniodasilva self-assigned this Feb 3, 2026
We were not installing the version defined by the matrix, so it was
always testing against the ones installed based on the package.json
file.

Make sure all frameworks / packages are installed & cached correctly,
and separately, too.
We haven't run into any issues yet, but we could if there's some
compiled version that works differently across node versions.

Also change the cache to simply look for the root `package-lock.json`
since we only have one at the root.
Copy link
Contributor

@adamlogic adamlogic left a comment

Choose a reason for hiding this comment

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

💯 Love it!

Copy link
Contributor

@adamlogic adamlogic left a comment

Choose a reason for hiding this comment

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

💯 Love it!

@carlosantoniodasilva carlosantoniodasilva merged commit 9fb6f34 into main Feb 5, 2026
32 checks passed
@carlosantoniodasilva carlosantoniodasilva deleted the ca-versions branch February 5, 2026 12:32
@github-actions github-actions bot mentioned this pull request Feb 5, 2026
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.

2 participants