Skip to content

Commit 2579f5c

Browse files
committed
Build/Test Tools: Explicitly specify a version number in the .nvmrc file for the 5.0 branch.
This restores the ability to run NodeJS related tasks when using `nvm install` or `nvm use`. The alias `lts/*` currently resolves to NodeJS 12.x (and will continue to change as newer versions are released). The 10.x version of NodeJS is the highest version supported in the 5.0 branch. This also removes the explicit version when running `nvm install` during automated testing. The command will now fall back to the version in the `.nvmrc` file. See #51603. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@49277 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b00c8bf commit 2579f5c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/*
1+
10.22.1

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ before_script:
7373
fi
7474
- npm --version
7575
- node --version
76-
- nvm install 10.13.0
76+
- nvm install
7777
- npm install -g grunt-cli
7878
- npm install
7979
- npm prune

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"url": "https://develop.svn.wordpress.org/trunk"
88
},
99
"engines": {
10-
"node": "10.13.0",
11-
"npm": "6.1.0"
10+
"node": "10.22.1",
11+
"npm": "6.14.6"
1212
},
1313
"author": "The WordPress Contributors",
1414
"license": "GPL-2.0+",

0 commit comments

Comments
 (0)