Skip to content

Commit 8560488

Browse files
author
kirrg001
committed
chore: npm > 7.24 uses node-gyp 8, which dropped python2 support
1 parent b9e128a commit 8560488

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ shared: &shared
7878
- v{{ .Environment.CACHE_VERSION }}-misc-test-durations-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
7979

8080
- run: |
81-
if [[ $(node -v) =~ ^v10.*$ ]]; then
82-
npm install -g npm@7 --prefix=$HOME/.local
83-
else
81+
if [[ $(node -v) =~ ^v16.*$ ]]; then
8482
npm install -g npm@latest --prefix=$HOME/.local
83+
else
84+
npm install -g npm@7.24.2 --prefix=$HOME/.local
8585
fi
8686
8787
- run: npm --version

0 commit comments

Comments
 (0)