Skip to content

Commit

Permalink
Add pnpm caching step to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMillz committed Nov 7, 2024
1 parent 7e36675 commit 84636b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache pnpm
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install pnpm
run: npm install -g pnpm
- name: Install Vercel CLI
Expand Down

0 comments on commit 84636b6

Please sign in to comment.