Skip to content

Commit

Permalink
Use Yarn caching in GitHub Actions
Browse files Browse the repository at this point in the history
The only GitHub action to 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 MetaMask/metamask-module-template#145
for details).

This should have no functional impact except that this action will run
faster when dependencies are unchanged.
  • Loading branch information
Gudahtt committed Jun 19, 2023
1 parent 92bb191 commit 7030355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fitness-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: yarn

- name: Install dependencies
run: yarn
Expand Down

0 comments on commit 7030355

Please sign in to comment.