mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: switch to NPM v5 (#4909)
* build: switch to NPM v5 * Switches to NPM v5 that should use the packages from the `$HOME/.npm` cache. * Now caches the dashboard functions `node_modules` by using the shared cache in `$HOME/.npm` * Fix npm version
This commit is contained in:
committed by
mmalerba
parent
6fd4303f83
commit
a4aed09979
+2
-2
@@ -39,6 +39,7 @@ env:
|
||||
|
||||
before_install:
|
||||
- source ./scripts/ci/env.sh
|
||||
- npm i -g npm@^5.0.1
|
||||
|
||||
install:
|
||||
- npm install
|
||||
@@ -51,5 +52,4 @@ script:
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
- tools/screenshot-test/functions/node_modules
|
||||
- $HOME/.npm
|
||||
|
||||
Reference in New Issue
Block a user