Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: 0 B Total Size: 1.37 MB ℹ️ View Unchanged
|
|
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. |
54aee23 to
cd69e45
Compare
wp/5.7 branch Actions: Pin Node.js version in the Compressed Size workflowwp/5.7 branch Actions: Pin the Node.js version in the Compressed Size workflow
cd69e45 to
435b268
Compare
ntsekouras
left a comment
There was a problem hiding this comment.
LGTM, thanks! Compressed Size now installs and builds on the branch's Node 14 instead of the runner's Node 22, and passes.
435b268 to
9c97304
Compare
Part of #82936.
What?
Adds a
Setup Node.js(actions/setup-node,node-version-file: '.nvmrc') step tobundle-size.yml'sCheckjob, beforepreactjs/compressed-size-action, matching the step every other workflow on this branch already uses.Why?
preactjs/compressed-size-actionruns its ownnpm cifor the PR's head and base commits with whatever Node.js the runner provides when noactions/setup-nodestep comes first. Onubuntu-24.04that is Node.js 22, and the install fails inreact-native-svg@9.13.6-gb's git-dependencypreparescript (flowgen→bob):This branch's
.nvmrcis14, which every other job uses for its ownnpm ci, and those jobs install the same dependency without this error.wp/5.7'sbundle-size.ymlnever had a Node.js step: its last upstream change (Gutenberg 9.6, December 2020) only bumpedcompressed-size-action.wp/5.6got one through the WP 5.6.2 backports (#29058), andwp/5.8and newer have one too.How?
Same change as
wp/5.5's #85007.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code