File tree Expand file tree Collapse file tree 4 files changed +32
-14
lines changed Expand file tree Collapse file tree 4 files changed +32
-14
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
- # Note: if updating to Node 10, use at least 10.5.0 to include a fix for
3
- # https://github.com/nodejs/node/issues/20297
4
- nodejs_version : " 8.9.2" # Same version as used in CircleCI.
2
+ nodejs_version : " 10.9.0" # Same version as used in CircleCI.
5
3
6
4
matrix :
7
5
fast_finish : true
8
6
9
7
install :
10
8
- ps : Install-Product node $env:nodejs_version
11
- - yarn install --frozen-lockfile
12
- - npm run webdriver-update-appveyor
9
+ # --network-timeout is a workaround for https://github.com/yarnpkg/yarn/issues/6221
10
+ - yarn --frozen-lockfile --network-timeout=500000
11
+ - yarn webdriver-update-appveyor
13
12
14
13
test_script :
15
14
- node --version
Original file line number Diff line number Diff line change 12
12
# # IMPORTANT
13
13
# If you change the `docker_image` version, also change the `cache_key` suffix and the version of
14
14
# `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file.
15
- var_1 : &docker_image angular/ngcontainer:0.3.3
16
- var_2 : &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.3.3-2
15
+ var_1 : &docker_image angular/ngcontainer:0.5.0
16
+ var_2 : &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.5.0
17
+ var_3 : &node_8_docker_image angular/ngcontainer:0.3.3
17
18
18
19
# Settings common to each job
19
20
anchor_1 : &defaults
84
85
parallelism : 4
85
86
steps :
86
87
- attach_workspace : *attach_options
87
- - run : npm install --global npm@6
88
88
- run : xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
89
+
90
+ e2e-node-8 :
91
+ << : *defaults
92
+ # Overwrite docker image to node 8.
93
+ docker :
94
+ - image : *node_8_docker_image
95
+ environment :
96
+ BASH_ENV : ~/.profile
97
+ resource_class : xlarge
98
+ parallelism : 4
99
+ steps :
100
+ - attach_workspace : *attach_options
101
+ - run : npm install --global npm@6
102
+ - run : xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/*
89
103
90
104
build :
91
105
<< : *defaults
@@ -153,6 +167,9 @@ workflows:
153
167
- e2e-cli :
154
168
requires :
155
169
- build
170
+ - e2e-node-8 :
171
+ requires :
172
+ - build
156
173
- snapshot_publish :
157
174
requires :
158
175
- test
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ go_register_toolchains()
29
29
# We need a minimum of this version to include https://github.com/bazelbuild/rules_nodejs/pull/281.
30
30
http_archive (
31
31
name = "build_bazel_rules_nodejs" ,
32
- url = "https://github.com/bazelbuild/rules_nodejs/archive/c75e3dd0571b0937e3ce0c4f0e6b6b50d90468f0 .zip" ,
33
- strip_prefix = "rules_nodejs-c75e3dd0571b0937e3ce0c4f0e6b6b50d90468f0 " ,
34
- sha256 = "b78506ddaed7c682027f873d2bd50086a28570b3187da9fa16fe1672eed3015e " ,
32
+ url = "https://github.com/bazelbuild/rules_nodejs/archive/0.12.4 .zip" ,
33
+ strip_prefix = "rules_nodejs-0.12.4 " ,
34
+ sha256 = "c482700e032b4df60425cb9a6f8f28152fb1c4c947a9d61e6132fc59ce332b16 " ,
35
35
)
36
36
37
37
# Load the TypeScript rules, its dependencies, and setup the workspace.
@@ -58,6 +58,8 @@ check_bazel_version("0.15.0")
58
58
node_repositories (
59
59
package_json = ["//:package.json" ],
60
60
preserve_symlinks = True ,
61
+ node_version = "10.3.0" ,
62
+ yarn_version = "1.6.0" ,
61
63
)
62
64
63
65
local_repository (
Original file line number Diff line number Diff line change 35
35
"validate-commits" : " ./bin/devkit-admin validate-commits" ,
36
36
"prepush" : " node ./bin/devkit-admin hooks/pre-push" ,
37
37
"webdriver-update-appveyor" : " webdriver-manager update --standalone false --gecko false --versions.chrome 2.37" ,
38
- "webdriver-update-circleci" : " webdriver-manager update --standalone false --gecko false --versions.chrome 2.33 "
38
+ "webdriver-update-circleci" : " webdriver-manager update --standalone false --gecko false --versions.chrome $CHROMEDRIVER_VERSION_ARG "
39
39
},
40
40
"repository" : {
41
41
"type" : " git" ,
42
42
"url" : " https://github.com/angular/angular-cli.git"
43
43
},
44
44
"engines" : {
45
- "node" : " >= 8.9 .0" ,
46
- "npm " : " >= 5.5.1 "
45
+ "node" : " >=10.3.0 <11.0 .0" ,
46
+ "yarn " : " >=1.6.0 <2.0.0 "
47
47
},
48
48
"author" : " Angular Authors" ,
49
49
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments