Skip to content

Commit 11af900

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) (cherry picked from commit 9ad7535)
1 parent 12c71d0 commit 11af900

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
@@ -206,8 +206,8 @@ jobs:
206206
name: Initialize Environment
207207
command: |
208208
./.circleci/env.sh
209-
# Ensure latest npm version to support local package repository
210-
PATH=~/.npm-global/bin:$PATH npm install --global npm
209+
# Ensure latest v6 npm version to support local package repository
210+
PATH=~/.npm-global/bin:$PATH npm install --global npm@6
211211
- run: PATH=~/.npm-global/bin:$PATH node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
212212

213213
test-browsers:

0 commit comments

Comments
 (0)