Skip to content

chore: bump to node.js 24 and enable oidc publishing#362

Merged
mrcointreau merged 2 commits into
mainfrom
chore/node-24-oidc
Apr 20, 2026
Merged

chore: bump to node.js 24 and enable oidc publishing#362
mrcointreau merged 2 commits into
mainfrom
chore/node-24-oidc

Conversation

@mrcointreau
Copy link
Copy Markdown
Contributor

Summary

  • Bump Node.js version from 22 to 24 across all CI workflows
  • Upgrade GitHub Actions to latest major versions
  • Switch npm publishing from token-based auth (NPM_TOKEN) to OIDC-based auth with provenance

Copy link
Copy Markdown
Member

@iglosiggio iglosiggio left a comment

Choose a reason for hiding this comment

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

Changes look good. The only question I have is moving from node 22 to node 24. node 22 will have support until April 2027 (it just finished active development on October of 2025). https://nodejs.org/en/about/previous-releases

Do you have any details on who we may leave behind with this change? (Or is it the idea to target node22 and use node24 as our runtime)

@mrcointreau
Copy link
Copy Markdown
Contributor Author

@iglosiggio

The minimum supported Node version is still 20.11.1 (enforced via a runtime check in src/constants.ts), and the CI matrix continues to test against Node 20, 22 and 24, so no consumers should be left behind. This change is meant to only bump the Node version used for CI jobs like publishing and docs builds. The main motivation is enabling OIDC-based npm provenance which works with npm 11.5.1 only.

An alternative and safer approach would be to keep the current Node versions as they are and just update npm to 11.5.1 in the CI workflows.

@iglosiggio
Copy link
Copy Markdown
Member

Thanks for the details!

@mrcointreau mrcointreau marked this pull request as ready for review April 20, 2026 13:19
@mrcointreau mrcointreau merged commit 200c2ba into main Apr 20, 2026
8 checks passed
@mrcointreau mrcointreau deleted the chore/node-24-oidc branch April 20, 2026 13:19
@engineering-ci
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.2.0-beta.29 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants