ci: upgrade to node 8 and Bazel 0.8 (#20807)
Closes #19648 PR Close #20807
This commit is contained in:
@ -34,10 +34,10 @@ fi
|
||||
# CUSTOM GLOBALS #
|
||||
#######################
|
||||
|
||||
setEnvVar NODE_VERSION 6.9.5
|
||||
setEnvVar NODE_VERSION 8.9.1
|
||||
setEnvVar YARN_VERSION 1.0.2
|
||||
setEnvVar CHROMIUM_VERSION 499098 # Chrome 62 linux stable, see https://www.chromium.org/developers/calendar
|
||||
setEnvVar BAZEL_VERSION 0.5.4
|
||||
setEnvVar BAZEL_VERSION 0.8.1
|
||||
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
|
||||
setEnvVar ANGULAR_CLI_VERSION 1.5.0-rc.2
|
||||
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
set -u -e -o pipefail
|
||||
|
||||
|
||||
# These ones can be `npm link`ed for fast development
|
||||
LINKABLE_PKGS=(
|
||||
$(pwd)/dist/packages-dist/{common,forms,core,compiler,compiler-cli,platform-{browser,server},platform-browser-dynamic,router,http,animations}
|
||||
)
|
||||
# npm 5 symlinks from local file installations rather than copying files, but
|
||||
# webpack will not follow the symlinks.
|
||||
# We prefer to emulate how a user will install angular, so we `npm pack` the
|
||||
# packages, then install them from the resulting .tgz files later.
|
||||
ANGULAR_PKGS=$(npm pack dist/packages-dist/{common,forms,core,compiler,compiler-cli,platform-{browser,server},platform-browser-dynamic,router,http,animations} | awk "{ printf \"$PWD/\"; print }")
|
||||
|
||||
TYPESCRIPT_2_4=typescript@2.4.x
|
||||
PKGS=(
|
||||
@ -34,8 +34,7 @@ cp -v package.json $TMP
|
||||
cd $TMP
|
||||
set -ex -o pipefail
|
||||
npm install ${PKGS[*]} $TYPESCRIPT_2_4
|
||||
# TODO(alexeagle): allow this to be npm link instead
|
||||
npm install ${LINKABLE_PKGS[*]}
|
||||
npm install ${ANGULAR_PKGS[*]}
|
||||
|
||||
./node_modules/.bin/tsc --version
|
||||
# Compile the compiler-cli third_party simulation.
|
||||
|
Reference in New Issue
Block a user