diff options
author | Bruno Barbieri <bruno.barbieri@consensys.net> | 2018-07-07 03:15:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 03:15:23 +0800 |
commit | d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f (patch) | |
tree | b7c8e8824edeb55ad8d3f1ca29064a1fd7d5b5b6 | |
parent | a875caa20cbe1ed3196ebb50e57f04190d6e6633 (diff) | |
download | tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar.gz tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar.bz2 tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar.lz tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar.xz tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.tar.zst tangerine-wallet-browser-d9c78fc6458b9fcdf02ddf2ecdbfcc3837f2e65f.zip |
simpler approach
-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: |