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.11 MB ℹ️ View Unchanged
|
d64b102 to
f20bfb2
Compare
|
Size Change: 0 B Total Size: 1.11 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. |
wp/5.9 branch Actions: Single Node.js version testingwp/5.9 branch Actions: Test against a single Node.js version
Part of #82934.
What?
Removes Node.js version matrices and hardcoded, duplicated Node version literals across every workflow in
.github/workflows/, replacing them withnode-version-file: '.nvmrc'on eachactions/setup-nodecall. No occurrence ofcheck-latest: truewas found anywhere in the tree, so there was nothing to remove for that part of this change.unit-test.ymlunit-jsnode: ['12', '14']node-version-file: '.nvmrc', no matrixunit-test.ymlunit-phpnode-version: 14node-version-file: '.nvmrc'create-block.ymlchecksnode: ['12', '14']node-version-file: '.nvmrc', no matrixend2end-test.ymladminpart: [1,2,3,4]+node: ['14']part: [1,2,3,4]only;node-version-file: '.nvmrc'bundle-size.ymlbuildnode: ['14']node-version-file: '.nvmrc', no matrixstatic-checks.ymlnode-version: 14node-version-file: '.nvmrc'This branch has no composite
.github/setup-node/action.ymlwrapper, so everyactions/setup-nodecall in every workflow file duplicated its own Node version, whether via a matrix or a hardcoded literal. All of them are updated here so.nvmrcbecomes the single source of truth, rather than only the two files (create-block.yml,unit-test.yml) that had a genuine multi-value matrix.Where a matrix combined a Node dimension with a real, non-Node dimension (
end2end-test.yml'spart), only the Node dimension was removed.Why?
This branch is frozen and will never move off the Node.js version pinned in
.nvmrc. Testing multiple Node versions (unit-test.yml,create-block.yml) added CI time without adding real coverage, and every place a Node version was hardcoded or matrixed instead of read from.nvmrcwas a place that version could silently drift from the one actually documented as required, without any workflow reflecting the change.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.