1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Final approach

This commit is contained in:
Bruno Barbieri 2018-07-06 15:33:53 -04:00 committed by GitHub
parent 8733982d7e
commit 24b0e6a4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: