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:
parent
8733982d7e
commit
24b0e6a4f8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user