Skip to content

CI: Remove node version from test matrix, use node version from .nvmrc#407

Merged
ockham merged 2 commits intotrunkfrom
remove/node-24-from-e2e-test-matrix
Apr 14, 2026
Merged

CI: Remove node version from test matrix, use node version from .nvmrc#407
ockham merged 2 commits intotrunkfrom
remove/node-24-from-e2e-test-matrix

Conversation

@ockham
Copy link
Copy Markdown
Contributor

@ockham ockham commented Apr 14, 2026

It occurred to me that it doesn't make much sense to run E2E tests against different node versions. SCF if a WP plugin; while it uses node to build JS assets, it's not used at all to run the code; that happens solely in the user's browser.

Consequently, it should be enough to run E2E tests only against one node version. (The edge case of E2E tests themselves using language constructs that are available in one node version but not in another isn't compelling enough to warrant running them against different node versions.)

I've updated the workflow to use the node version set in .nvmrc (currently 22).

Use of AI Tools

None

@ockham ockham self-assigned this Apr 14, 2026
@ockham ockham changed the title CI: Remove node 24 from e2e test matrix CI: Remove node 24 from e2e test matrix, use node version from .nvmrc Apr 14, 2026
@ockham ockham changed the title CI: Remove node 24 from e2e test matrix, use node version from .nvmrc CI: Remove node version from test matrix, use node version from .nvmrc Apr 14, 2026
@ockham ockham marked this pull request as ready for review April 14, 2026 13:20
@github-actions
Copy link
Copy Markdown

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 props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props bernhard-reiter.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ockham ockham merged commit 1aa5e38 into trunk Apr 14, 2026
18 of 20 checks passed
@ockham ockham deleted the remove/node-24-from-e2e-test-matrix branch April 14, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant