Commit 72a8096
ci: skip prepublishOnly in release publish jobs
Both publish-npm and publish-gpr download the prebuilt dist artifact
from the upstream build job, so the prepublishOnly hook (which calls
pnpm typecheck + build) is redundant — and pnpm isn't installed in
those jobs, so it fails with "pnpm: not found". Add --ignore-scripts
to skip the hook in CI; local `npm publish` still benefits from it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 06c5e23 commit 72a8096
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments