Skip to content

Commit a768810

Browse files
authored
build(*): update Node from 6 to 8, update Yarn
Angular (2+) switched to Node 8 and so should we. Closes angular#16360 Ref angular/angular#20807 Ref angular/angular#20832
1 parent dde520e commit a768810

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6
1+
8

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '6'
4+
- '8'
55

66
cache:
77
yarn: true
@@ -28,7 +28,7 @@ env:
2828
- secure: oTBjhnOKhs0qDSKTf7fE4f6DYiNDPycvB7qfSF5QRIbJK/LK/J4UtFwetXuXj79HhUZG9qnoT+5e7lPaiaMlpsIKn9ann7ffqFWN1E8TMtpJF+AGigx3djYElwfgf5nEnFUFhwjFzvbfpZNnxVGgX5YbIZpe/WUbHkP4ffU0Wks=
2929

3030
before_install:
31-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5
31+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
3232
- export PATH="$HOME/.yarn/bin:$PATH"
3333

3434
before_script:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"url": "https://github.com/angular/angular.js.git"
1010
},
1111
"engines": {
12-
"node": "^6.9.1",
13-
"yarn": ">=0.21.3",
12+
"node": "^8.9.1",
13+
"yarn": ">=1.3.2",
1414
"grunt": "^1.2.0"
1515
},
1616
"scripts": {

0 commit comments

Comments
 (0)