Commit 9af70f6
committed
ci(docker): pin setup-node to v4 to avoid v5 pnpm auto-cache breakage
Previous commit removed pnpm/action-setup, but that broke a different
thing: setup-node@v5 still tries to invoke pnpm at setup time when it
auto-detects the packageManager field in package.json, and now no
pnpm exists on PATH ("Unable to locate executable file: pnpm").
Restoring pnpm setup AND pinning setup-node to v4. v4 doesn't have
the aggressive auto-cache behavior that caused the original "Path
Validation Error" failure. The other workflows (ci.yaml, test.yaml,
publish.yaml) keep v5 because they actually run `pnpm install` so
the store path exists when v5 tries to cache it.1 parent 7675bb0 commit 9af70f6
1 file changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | | - | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments