Skip to content

Commit

Permalink
feat: explicitly cache yarn deps for binary workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Jun 5, 2024
1 parent def34eb commit a6f6a65
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/setup-and-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ inputs:
runs:
using: "composite"
steps:
- name: Cache Yarn dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{inputs.node}}
check-latest: true
cache: yarn

- name: Node.js version
id: node
Expand Down

0 comments on commit a6f6a65

Please sign in to comment.