ci: add tag-based publish workflow for npm registry #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/publish-workflow"
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?
What
Adds
publish.yml— tag-based publish CI for the @haskytech/retest-queue JS package.Triggers on
v*tag push (e.g.v0.2.1) — same pattern as the Python package publish workflow in haskytech-modules-py.Steps
corepack enable pnpm— handles both runner images (forge-host-runner + tiki-host-runner per BUG-766)pnpm install --frozen-lockfilepnpm build— vite + tsc declarationsNPM_TOKENsecret →~/.npmrcpnpm publish --no-git-checks$NPM_TOKEN secret created on haskytech/retest-queue (Forgejo Actions).
Usage
Replaces the manual
pnpm publishI ran for 0.2.0 and 0.2.1 during this session.