Commit 7675bb0
committed
ci(docker): drop unused pnpm setup that broke setup-node@v5 caching
The Build <function>-fn matrix jobs were failing in "Post Setup
Node.js" with:
Path Validation Error: Path(s) specified in the action for
caching do(es) not exist, hence no cache is being saved.
Root cause: pnpm/action-setup@v6 ran before actions/setup-node@v5,
exposing PNPM_HOME. setup-node@v5 then auto-detected pnpm via the
packageManager field in root package.json and enabled pnpm-store
caching — but these jobs never run pnpm install (they only invoke
node --experimental-strip-types scripts/generate.ts). The store
path never gets created, and v5 promotes the missing-path warning
to an error during cache save.
Fix: remove pnpm/action-setup from docker.yaml since the workflow
doesn't use pnpm on the runner. The actual function builds run
inside Docker, which installs pnpm itself via
"npm install -g pnpm@<v>". simple-email had been passing only by
accident (cache hit from a previous warm run); the other three were
deterministic failures.1 parent 070c727 commit 7675bb0
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments