Skip to content

Commit

Permalink
feat: ensure save/restore cache
Browse files Browse the repository at this point in the history
  • Loading branch information
fran-ink committed Nov 22, 2024
1 parent 4307c51 commit c50ab62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/base-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- name: Restore Cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache/save@v4
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
**/node_modules
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

lint:
needs: install_modules
Expand Down

0 comments on commit c50ab62

Please sign in to comment.