feat: Upgrade project to Node.js v22#318
Merged
Merged
Conversation
This commit upgrades the project to Node.js version 22. Key changes include: - Updated `package.json` to specify `engines.node >=22.0.0`. - Upgraded `@types/node` to `^22.15.21`. - Upgraded `wrangler` (Cloudflare CLI) to `^4.16.1`. - Updated `package-lock.json` accordingly. - Modified GitHub Actions workflows (`build.yml`, `release.yml`, `staging.yml`) to use Node.js 22 and the updated Wrangler version 4.16.1. The `wrangler.toml` already contained `nodejs_compat_v2` and a recent `compatibility_date`, which are suitable for this upgrade. Testing (`npm ci`, `npm run lint`, `npm run build`) passed successfully with the new versions. Minor deprecation warnings for `@esbuild-kit/*` packages and a Wrangler TOML warning for the `usage_model` field were observed but did not impede the build process or functionality.
There was a problem hiding this comment.
Pull Request Overview
This PR updates the project to require and use Node.js v22 across dependencies and CI workflows.
- Bump Node.js engine and related dev dependencies in package.json
- Update CI workflows to use Node.js v22 and Wrangler CLI v4
- Align Cloudflare Wrangler action versions for staging and release pipelines
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Bumped @types/node, wrangler, and engine to Node.js >=22.0.0 |
| .github/workflows/staging.yml | Updated actions/setup-node to v22 and Wrangler v4 |
| .github/workflows/release.yml | Updated actions/setup-node to v22 and Wrangler v4 |
| .github/workflows/build.yml | Updated actions/setup-node to v22 |
cheqd-bot Bot
pushed a commit
that referenced
this pull request
May 23, 2025
## [2.1.0-develop.1](2.0.1...2.1.0-develop.1) (2025-05-23) ### Features * Upgrade project to Node.js v22 ([#318](#318)) ([a911773](a911773))
|
🎉 This PR is included in version 2.1.0-develop.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
cheqd-bot Bot
pushed a commit
that referenced
this pull request
May 23, 2025
## [2.1.0](2.0.1...2.1.0) (2025-05-23) ### Features * Upgrade project to Node.js v22 ([#318](#318)) ([a911773](a911773))
|
🎉 This PR is included in version 2.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.