CI: add semver tag release workflow for npm publish #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The repository now has Bun-based tests and a Gitea Actions validation workflow, but the release path is not yet exercised end-to-end. For a library intended to be published, we should have a dedicated release workflow that runs on version tags and validates the actual release path instead of relying entirely on ad hoc manual steps.
The target behavior is a Gitea Actions workflow that runs when a tag matching
x.y.zis pushed, performs the normal release checks, and exercisesnpm publish. The main unresolved detail is how npmjs.com authentication should be handled from Gitea Actions.Goals / scope
x.y.znpm packand/or equivalent package-content checks)npm publishstep targeting npmjs.comOut of scope / non-goals
alpha,beta,rc) in the initial versionAcceptance criteria
x.y.zpatternnpm publishstep to npmjs.com that is gated to release tags onlyOpen questions / notes
NPM_TOKEN