diff options
author | Bruno Barbieri <bruno.barbieri@consensys.net> | 2018-07-06 12:32:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-06 12:32:12 +0800 |
commit | ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71 (patch) | |
tree | a221e286d4fe0a04704b0a744364b0db7059bce2 | |
parent | 9ca9e90e4cdc8fafcbb9f6e1c7509e9fcf7f256f (diff) | |
download | tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar.gz tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar.bz2 tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar.lz tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar.xz tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.tar.zst tangerine-wallet-browser-ca09a0be831a5bd5e094a5cdaf7bdf76e7b4fb71.zip |
Update config.yml
-rw-r--r-- | .circleci/config.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 08d355bb5..0cbbaf2e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,11 +104,15 @@ jobs: key: dependency-cache-{{ checksum "package-lock.json" }} - run: name: Install deps via npm - command: npm install + command: | + if [ ! -d node_modules ]; then + sudo npm install -g npm@$NPM_VERSION + npm ci + fi - save_cache: key: dependency-cache-{{ checksum "package-lock.json" }} paths: - - ./node_modules + - node_modules prep-deps-firefox: docker: |