Skip to content

Commit f4fcdb9

Browse files
committed
ci: test on node 12
1 parent 8089a3f commit f4fcdb9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
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-browsers
1819
var_3: &cache_key angular_devkit-0.10.0-{{ checksum "yarn.lock" }}
1920

2021
# Settings common to each job
@@ -115,6 +116,22 @@ 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+
- store_artifacts:
132+
path: /tmp/dist
133+
destination: cli/new-production
134+
118135
e2e-cli-ivy:
119136
<<: *defaults
120137
docker:
@@ -218,6 +235,9 @@ workflows:
218235
- e2e-cli:
219236
requires:
220237
- build
238+
- e2e-cli-node-12:
239+
requires:
240+
- build
221241
- e2e-cli-ivy:
222242
requires:
223243
- build

0 commit comments

Comments
 (0)