From 206d9467616484704095ff01aefdf6737ecbe5d1 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Sun, 3 Jun 2018 18:22:48 +0200 Subject: [PATCH] fix: pin npm version in CircleCI --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 19bd1e350b..9615614674 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,7 +38,11 @@ jobs: # fallback to using the latest cache if no exact match is found - v2-dependencies- + # pin npm version to avoid conflicts with package-lock.json + - run: sudo npm install -g npm@6.1 + - run: npm install + # make sure package lock is up to date - run: npm run check-package-lock