Commit 9269d88
fix(ci): always run release cleanup on failure (#153)
The "Cleanup on failure" step in npm-publish.yml was gated on
`failure() && steps.create_release.outcome == 'success'`, so if
`gh release create` itself failed, cleanup was skipped and the bumped
commit/tag were left pushed with no npm/GitHub release. Drop the
create_release gate (`if: failure()`) and add `|| true` to the cleanup
commands so one missing artifact doesn't abort the rest.
Same fix as humanspeak/svelte-purify (CodeRabbit finding).
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4ea020f commit 9269d88
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
531 | | - | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
0 commit comments