Skip to content

fix(ci): allow the npm publish to be dispatched manually - #96

Merged
jbiskur merged 1 commit into
mainfrom
fix/npm-publish-dispatch
Sep 15, 2026
Merged

jbiskur merged 1 commit into
mainfrom
fix/npm-publish-dispatch

Conversation

@jbiskur

@jbiskur jbiskur commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #94.

A failed publish cannot be recovered today. gh run rerun replays the workflow file from the tagged commit, so it replays the failure too, and the job has no workflow_dispatch trigger to run the fixed file instead.

v0.22.2, v0.22.3 and v0.23.0 are all tagged on GitHub and absent from npm for exactly this reason. This trigger makes a re-publish possible without cutting a throwaway release.

Test plan

  • CI green
  • Dispatch the workflow on main and confirm 0.23.0 lands on npm

A failed publish could not be recovered. `gh run rerun` replays the workflow file
from the tagged commit, so it replays the failure too, and the job had no
`workflow_dispatch` trigger to run the fixed file instead.

Three releases are currently tagged on GitHub but absent from npm because of
exactly this. Adding the trigger makes a re-publish possible without cutting a
throwaway release.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jbiskur
jbiskur merged commit 80c804d into main Sep 15, 2026
3 checks passed
@jbiskur
jbiskur deleted the fix/npm-publish-dispatch branch September 15, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant