Skip to content

Commit 9ad7535

Browse files
committed
ci: use npm 6.x on Node.js 10 CI jobs
Latest npm is now 7.x and 7.x appears to cause CI failures when setting up the E2E test framework on Node.js 10. (cherry picked from commit dfc6d89)
1 parent 124fca9 commit 9ad7535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ jobs:
207207
name: Initialize Environment
208208
command: |
209209
./.circleci/env.sh
210-
# Ensure latest npm version to support local package repository
211-
PATH=~/.npm-global/bin:$PATH npm install --global npm
210+
# Ensure latest v6 npm version to support local package repository
211+
PATH=~/.npm-global/bin:$PATH npm install --global npm@6
212212
- run: PATH=~/.npm-global/bin:$PATH node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
213213

214214
test-browsers:

0 commit comments

Comments
 (0)