We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8329dfa commit 405267fCopy full SHA for 405267f
1 file changed
.github/workflows/deploy-site.yml
@@ -39,24 +39,15 @@ jobs:
39
uses: actions/setup-node@v4
40
with:
41
node-version: '20'
42
+ cache: 'pnpm'
43
+ cache-dependency-path: 'site/pnpm-lock.yaml'
44
45
- name: Setup pnpm
46
uses: pnpm/action-setup@v4
47
48
version: latest
49
- - name: Get pnpm store directory
- shell: bash
50
- run: |
51
- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
52
-
53
- - name: Setup pnpm cache
54
- uses: actions/cache@v4
55
- with:
56
- path: ${{ env.STORE_PATH }}
57
- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
58
- restore-keys: |
59
- ${{ runner.os }}-pnpm-store-
+ # Rely on actions/setup-node pnpm cache; no manual pnpm store cache needed
60
61
- name: Install site dependencies
62
run: |
0 commit comments