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 9c2cb49 commit fd580e6Copy full SHA for fd580e6
.github/workflows/call-reusable.yml
@@ -10,6 +10,13 @@ jobs:
10
steps:
11
- uses: actions/checkout@v4
12
13
+ - name: Restore PNPM cache early (before pnpm installed)
14
+ uses: actions/cache@v4
15
+ with:
16
+ # Intentionally use an env var that is not yet set, causing empty path
17
+ path: ${{ env.STORE_PATH }}
18
+ key: pnpm-store-${{ runner.os }}-18.20.4-v1
19
+
20
- name: Setup Node.js
21
uses: actions/setup-node@v4
22
with:
@@ -22,12 +29,6 @@ jobs:
29
id: pnpm-cache-path
23
30
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_ENV
24
31
25
- - name: Restore PNPM cache
26
- uses: actions/cache@v4
27
- with:
28
- path: ${{ env.STORE_PATH }}
- key: pnpm-store-${{ runner.os }}-18.20.4-v1
-
32
- name: Install dependencies
33
run: pnpm install
34
0 commit comments