mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Use Yarn caching in GitHub Actions (#19662)
GitHub actions that install dependencies will now also cache those dependencies using the standard strategy for Yarn (which is to hash the lockfile). This matches the module template (see https://github.com/MetaMask/metamask-module-template/pull/145 for details). This should have no functional impact except that this action will run faster when dependencies are unchanged.
This commit is contained in:
parent
6bb786f3fd
commit
ac8825b5b1
1
.github/workflows/add-release-label.yml
vendored
1
.github/workflows/add-release-label.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
1
.github/workflows/fitness-functions.yml
vendored
1
.github/workflows/fitness-functions.yml
vendored
@ -18,6 +18,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
Loading…
Reference in New Issue
Block a user