Skip to content

Commit 70ba39f

Browse files
filipesilvaalexeagle
authored andcommitted
ci: test on node 12
1 parent 1fc8150 commit 70ba39f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
var_1: &docker_image angular/ngcontainer:0.7.0
1616
var_2: &cache_key angular_devkit-{{ checksum "yarn.lock" }}-0.7.0
1717
var_3: &node_8_docker_image angular/ngcontainer:0.3.3
18+
var_3: &node_12_docker_image circleci/node:12.1-browsers
1819

1920
# Settings common to each job
2021
anchor_1: &defaults
@@ -104,6 +105,20 @@ jobs:
104105
- run: npm install --global npm@6
105106
- run: xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/* --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
106107

108+
e2e-node-12:
109+
<<: *defaults
110+
# Overwrite docker image to node 8.
111+
docker:
112+
- image: *node_12_docker_image
113+
environment:
114+
BASH_ENV: ~/.profile
115+
NPM_CONFIG_PREFIX: ~/.npm-global
116+
resource_class: xlarge
117+
parallelism: 2
118+
steps:
119+
- attach_workspace: *attach_options
120+
- run: PATH=~/.npm-global/bin:$PATH xvfb-run -a node ./tests/legacy-cli/run_e2e --glob=tests/basic/* --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
121+
107122
e2e-cli-ng-snapshots:
108123
<<: *defaults
109124
environment:
@@ -187,6 +202,9 @@ workflows:
187202
- e2e-node-8:
188203
requires:
189204
- build
205+
- e2e-node-12:
206+
requires:
207+
- build
190208
- snapshot_publish_docs:
191209
requires:
192210
- install

0 commit comments

Comments
 (0)