Skip to content

Commit 767bcf3

Browse files
clydinalan-agius4
authored andcommitted
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 40ab557 commit 767bcf3

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
@@ -216,8 +216,8 @@ jobs:
216216
name: Initialize Environment
217217
command: |
218218
./.circleci/env.sh
219-
# Ensure latest npm version to support local package repository
220-
PATH=~/.npm-global/bin:$PATH npm install --global npm
219+
# Ensure latest v6 npm version to support local package repository
220+
PATH=~/.npm-global/bin:$PATH npm install --global npm@6
221221
- run: PATH=~/.npm-global/bin:$PATH node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX}
222222

223223
e2e-cli-node-14:

0 commit comments

Comments
 (0)