Skip to content

Commit

Permalink
add path to restore cache successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Siggery committed Nov 22, 2024
1 parent d3396a5 commit 6f4f184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ runs:
id: cache-node-modules
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: ${{ inputs.node-version }}
cache: "yarn"
cache-dependency-path: ${{ github.workspace }}/yarn.lock
node-version: ${{ inputs.node-version }}
path: ${{ github.workspace }}/node_modules
# Run 'yarn' if cache doesn't exist. Use --prefer-offline to download packages from yarn cache folder where possible
- name: Install Dependencies
shell: bash
Expand Down

0 comments on commit 6f4f184

Please sign in to comment.