Skip to content

Commit af6f0f1

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/branches/7.1@64973 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b9b2a73 commit af6f0f1

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

0 commit comments

Comments
 (0)