We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e52a0c commit 07841ecCopy full SHA for 07841ec
1 file changed
.github/workflows/deploy.yml
@@ -31,6 +31,17 @@ jobs:
31
uses: pnpm/action-setup@v2
32
with:
33
version: 8
34
+ - name: Get pnpm store directory
35
+ shell: bash
36
+ run: |
37
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
38
+ - name: Setup pnpm cache
39
+ uses: actions/cache@v3
40
+ with:
41
+ path: ${{ env.STORE_PATH }}
42
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
43
+ restore-keys: |
44
+ ${{ runner.os }}-pnpm-store-
45
- name: Install dependencies
46
run: pnpm install
47
- name: Build with Astro
0 commit comments