diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index c9c827a1c..63f6a64b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -108,15 +108,8 @@ jobs: - run: name: Install deps via npm command: | - if [ ! -d node_modules ]; then - sudo npm install -g npm@6 - npm install - # If the package-lock.json has changed, die with an error - CHANGED_FILES="$(git diff --name-only package-lock.json)" - echo "$CHANGED_FILES" | grep --quiet "package-lock.json" && - echo "Looks like package-lock.json has changed. Did you forget to include it on your PR?" && - exit - fi + sudo npm install -g npm@6 + npm install - save_cache: key: dependency-cache-{{ checksum "package-lock.json" }} paths: |