Commit cf2ec69
fix: correct release workflow publish issues (#513)
## Summary
- **Fix typo:** `release_created` (singular) → `releases_created`
(plural) on the `pnpm/action-setup` step — this caused the step to
silently be skipped on every release
- **Add missing conditional** to `corepack enable` so it only runs when
a release is created
- **Add `registry-url`** to `actions/setup-node` so the OIDC token
exchange can authenticate against npm for trusted publishing
## Test plan
- [ ] Verify release workflow runs correctly on next release-please PR
merge
- [ ] Confirm npm packages are published with provenance
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1d0ff62 commit cf2ec69
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments