We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 685a138 + 04c214a commit 77f0c16Copy full SHA for 77f0c16
1 file changed
.github/workflows/pr.yml
@@ -17,7 +17,24 @@ jobs:
17
uses: actions/setup-node@v4
18
with:
19
node-version: '20.x'
20
- cache: 'pnpm'
+
21
+ - name: Install pnpm
22
+ uses: pnpm/action-setup@v3
23
+ with:
24
+ version: 10
25
26
+ - name: Get pnpm store directory
27
+ shell: bash
28
+ run: |
29
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30
31
+ - uses: actions/cache@v4
32
+ name: Setup pnpm cache
33
34
+ path: ${{ env.STORE_PATH }}
35
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36
+ restore-keys: |
37
+ ${{ runner.os }}-pnpm-store-
38
39
- name: Install dependencies
40
run: pnpm install
0 commit comments