build: fix build by pinning angular-cli to specific version (#18865)
Closes #18865
This commit is contained in:
parent
f692655ec5
commit
1c2f3d47e9
|
@ -24,7 +24,7 @@ if [ ! -d ".ng-cli" ]; then
|
|||
(
|
||||
mkdir -p .ng-cli
|
||||
cd .ng-cli
|
||||
yarn add https://github.com/angular/cli-builds --cache-folder ../$cache
|
||||
yarn add @angular/cli@$ANGULAR_CLI_VERSION --cache-folder ../$cache
|
||||
)
|
||||
fi
|
||||
./ng-cli-create.sh cli-hello-world
|
||||
|
|
|
@ -38,6 +38,7 @@ setEnvVar NODE_VERSION 6.9.5
|
|||
setEnvVar NPM_VERSION 3.10.7 # do not upgrade to >3.10.8 unless https://github.com/npm/npm/issues/14042 is resolved
|
||||
setEnvVar YARN_VERSION 0.24.6
|
||||
setEnvVar SAUCE_CONNECT_VERSION 4.3.11
|
||||
setEnvVar ANGULAR_CLI_VERSION 1.3.2
|
||||
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)
|
||||
|
||||
if [[ ${TRAVIS:-} ]]; then
|
||||
|
|
Loading…
Reference in New Issue