We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b72603 commit 0b4a837Copy full SHA for 0b4a837
.github/workflows/main.yml
@@ -18,9 +18,29 @@ jobs:
18
fetch-depth: 0
19
20
- name: Set up pnpm
21
- uses: pnpm/action-setup@v2
+ uses: pnpm/action-setup@v4
22
with:
23
version: latest
24
+ run_install: false
25
+
26
+ - name: Install Node.js
27
+ uses: actions/setup-node@v4
28
+ with:
29
+ node-version: 20
30
+ cache: 'pnpm'
31
32
+ - name: Get pnpm store directory
33
+ shell: bash
34
+ run: |
35
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
36
37
+ - uses: actions/cache@v4
38
+ name: Setup pnpm cache
39
40
+ path: ${{ env.STORE_PATH }}
41
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42
+ restore-keys: |
43
+ ${{ runner.os }}-pnpm-store-
44
45
- name: Install dependencies
46
run: pnpm install --frozen-lockfile
0 commit comments