From 9ad7535db031ec73508badd79bcdd85fc11a0b2e 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. (cherry picked from commit dfc6d89155cb717d09a8101ec8ce6622e34bae44) --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d5256d94a45..7bbce4dfc1c5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -207,8 +207,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} test-browsers: