From dfc6d89155cb717d09a8101ec8ce6622e34bae44 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Wed, 3 Feb 2021 18:55:39 -0500 Subject: [PATCH] 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. --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 74577c6abfad..18711549b65d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -216,8 +216,8 @@ jobs: name: Initialize Environment command: | ./.circleci/env.sh - # Ensure latest npm version to support local package repository - PATH=~/.npm-global/bin:$PATH npm install --global npm + # Ensure latest v6 npm version to support local package repository + PATH=~/.npm-global/bin:$PATH npm install --global npm@6 - run: PATH=~/.npm-global/bin:$PATH node ./tests/legacy-cli/run_e2e --nb-shards=${CIRCLE_NODE_TOTAL} --shard=${CIRCLE_NODE_INDEX} e2e-cli-node-14: