mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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
|
# fallback to using the latest cache if no exact match is found
|
||||||
- dependency-cache-
|
- dependency-cache-
|
||||||
- run:
|
- run:
|
||||||
name: Install deps via npm
|
name: Install npm 6 + deps via npm
|
||||||
command: |
|
command: |
|
||||||
# Only run npm install if the package-lock.json or package.json was changed
|
sudo npm install -g npm@6.1.0 && npm install
|
||||||
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
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: dependency-cache-{{ checksum "package-lock.json" }}
|
key: dependency-cache-{{ checksum "package-lock.json" }}
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user