diff options
-rw-r--r-- | .circleci/config.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 014964304..69d407d2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -106,13 +106,9 @@ jobs: # fallback to using the latest cache if no exact match is found - dependency-cache- - run: - name: Install deps via npm + name: Install npm 6 + deps via npm command: | - # Only run npm install if the package-lock.json or package.json was changed - CHANGED_FILES="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" - echo "$CHANGED_FILES" | grep --quiet "package.*json" && - sudo npm install -g npm@6 && - npm install + sudo npm install -g npm@6.1.0 && npm install - save_cache: key: dependency-cache-{{ checksum "package-lock.json" }} paths: |