Skip to content

Commit 3a1df53

Browse files
filipesilvaKeen Yee Liau
authored and
Keen Yee Liau
committed
ci: test on node 12
1 parent 94ca819 commit 3a1df53

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.circleci/config.yml

+17
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
1616
var_1: &default_docker_image circleci/node:10.12
1717
var_2: &browsers_docker_image circleci/node:10.12-browsers
18+
var_2: &browsers_docker_image_node_12 circleci/node:12.1-browsers
1819
var_3: &cache_key angular_devkit-0.10.0-{{ checksum "yarn.lock" }}
1920

2021
# Settings common to each job
@@ -115,6 +116,19 @@ jobs:
115116
path: /tmp/dist
116117
destination: cli/new-production
117118

119+
e2e-cli-node-12:
120+
<<: *defaults
121+
docker:
122+
- image: *browsers_docker_image_node_12
123+
environment:
124+
BASH_ENV: ~/.profile
125+
NPM_CONFIG_PREFIX: ~/.npm-global
126+
resource_class: xlarge
127+
parallelism: 4
128+
steps:
129+
- attach_workspace: *attach_options
130+
- run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
131+
118132
e2e-cli-ivy:
119133
<<: *defaults
120134
docker:
@@ -218,6 +232,9 @@ workflows:
218232
- e2e-cli:
219233
requires:
220234
- build
235+
- e2e-cli-node-12:
236+
requires:
237+
- build
221238
- e2e-cli-ivy:
222239
requires:
223240
- build

0 commit comments

Comments
 (0)