Commit ef148d5
committed
Fix pnpm dependency workflow cache and lockfile updates
`pnpm audit --fix` only writes overrides to package.json /
pnpm-workspace.yaml without refreshing pnpm-lock.yaml, so the PR
produced for security fixes had a stale lockfile. The post step
for actions/setup-node also failed with "Path Validation Error"
because the pnpm store was never populated.
Add a `pnpm install --no-frozen-lockfile` step after the audit /
update operation so the lockfile is refreshed and the pnpm store
exists for the cache post-step.1 parent fba6d0a commit ef148d5
1 file changed
Lines changed: 10 additions & 0 deletions
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
65 | 75 | | |
66 | 76 | | |
67 | 77 | | |
| |||
0 commit comments