build(*): update Node from 6 to 8, update Yarn

Angular (2+) switched to Node 8 and so should we.

Closes #16360
Ref angular/angular#20807
Ref angular/angular#20832
This commit is contained in:
Michał Gołębiowski-Owczarek
2017-12-07 19:26:32 +01:00
committed by Michał Gołębiowski-Owczarek
parent 0b6ec6b3ab
commit c169c60535
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
6
8
+2 -2
View File
@@ -1,7 +1,7 @@
language: node_js
sudo: false
node_js:
- '6'
- '8'
cache:
yarn: true
@@ -28,7 +28,7 @@ env:
- secure: oTBjhnOKhs0qDSKTf7fE4f6DYiNDPycvB7qfSF5QRIbJK/LK/J4UtFwetXuXj79HhUZG9qnoT+5e7lPaiaMlpsIKn9ann7ffqFWN1E8TMtpJF+AGigx3djYElwfgf5nEnFUFhwjFzvbfpZNnxVGgX5YbIZpe/WUbHkP4ffU0Wks=
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2
- export PATH="$HOME/.yarn/bin:$PATH"
before_script:
+2 -2
View File
@@ -9,8 +9,8 @@
"url": "https://github.com/angular/angular.js.git"
},
"engines": {
"node": "^6.9.1",
"yarn": ">=0.21.3",
"node": "^8.9.1",
"yarn": ">=1.3.2",
"grunt": "^1.2.0"
},
"scripts": {