Repository navigation
Build/Test Tools: Upgrade Node.js to 24.x in the 6.4 branch - #13841
Draft
manzoorwanijk wants to merge 3 commits into
Draft
manzoorwanijk wants to merge 3 commits into
manzoorwanijk wants to merge 3 commits into
Conversation
Node.js 20.x reached end of life on April 30, 2026. This updates the minimum required Node.js and npm versions and applies the Grunt shutdown workaround needed on 24.x. The Gutenberg hash is left unchanged. Merges [63539] and [63771] to the 6.4 branch, adapted to the scripts and bundled themes present in the branch. See #65451, #66116.
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
Member
|
@manzoorwanijk Can we close #11726 in favour of this PR? |
Member
Author
Done. |
Member
|
Thanks! Let's bump node and npm versions in README.MD file similar to #13843 |
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.
Upgrades the 6.4 branch to Node.js 24.x, since Node.js 20.x reached end of life on April 30, 2026. Backports r63539 and r63771 without the Gutenberg hash change, applying the Grunt workaround to the npm scripts by hand since
tools/gutenberg/utils.jsdoes not exist here. Twenty Nineteen and Twenty Twenty keep their current Node.js versions, as in trunk.Supersedes #11726, the WIP draft by @desrosj for this branch.
Trac ticket: https://core.trac.wordpress.org/ticket/66636
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Porting the trunk changes to each release branch.
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.