Framework: Sync lockfile changes under Node.js v24 build#73314
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +2.34 kB (+0.09%) Total Size: 2.49 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 5846ae9. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19375951280
|
senadir
left a comment
There was a problem hiding this comment.
Both node 20 and 24 produce no changes to the lock
Yeah another solution to this problem is ensuring that we use a consistent version of NPM regardless which Node.js version we have installed (see #72143). |
Node.js v20 is the default, so it's not your fault, this is an easy thing to miss. It's just that the version of NPM that comes with Node.js v24 (which we only run on |
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |

What?
Updates
package-lock.jsonto commit changes after runningnpm installwith the version of NPM shipped with Node.js v24.Follow-up to #72703
Related to #72143
Why?
Fix build failures on
trunkExample: https://github.com/WordPress/gutenberg/actions/runs/19374127875/job/55437158928
How?
Commit changes produced after switching to Node.js v24:
Testing Instructions
Verify that no changes are produced to
package-lock.jsonin both Node.js v20 and v24: