Make WordPress Core

Changeset 64973

Timestamp:
10/28/2026 09:59:34 PM (7 days ago)
Author:
jorbin
Message:

iBuild/Test Tools: Add .nvmrc files to default themes.

Today there are 5 default themes that have package.json files:

Twenty Nineteen
Twenty Twenty
Twenty Twenty-One
Twenty Twenty-Two
Twenty Twenty-Five
The .nvmrc file at the root of the repository will be used when modifying these themes in the context of a wordpress-develop checkout. But these themes exist outside of wordpress-develop more often than not. And there are times where the version of Node.js used by Core is not the same as one or more of the themes (this is currently the case with Twenty Nineteen).

This adds an .nvmrc file to each of the 5 themes that rely on Node.js. The theme testing GitHub Actions workflow is also updated to use each theme’s individual .nvmrc files to determine which version of Node.js to use instead of always defaulting to the version used for Core itself.

Reviewed by jeremyfelt.
Merges [63450] to 7.1 branch without the change to the workflow that no longer exists.

Fixes #66041.

Location:
branches/7.1
Files:
1 edited
5 copied

Note: See TracChangeset for help on using the changeset viewer.