From 24b0e6a4f82a81569bba84af7f0a96a1d5eb1405 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Fri, 6 Jul 2018 15:33:53 -0400 Subject: [PATCH] Final approach --- .circleci/config.yml | 8 ++------ 1 file 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: