Skip to content

Commit

Permalink
fix: fix packages CI cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamiewarb committed Oct 21, 2024
1 parent b3755a2 commit a7da45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
${{ github.workspace }}/.cache
${{ github.workspace }}/**/tsconfig.tsbuildinfo
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-web-app-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
key: ${{ runner.os }}-packages-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-web-app-${{ hashFiles('**/pnpm-lock.yaml') }}-
${{ runner.os }}-packages-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install root + src dependencies 👨🏻‍💻
run: pnpm install
Expand Down

0 comments on commit a7da45c

Please sign in to comment.