ci: add tag-based publish workflow for npm registry #4

Merged
haskos-bot merged 1 commit from feat/publish-workflow into dev 2026-07-20 00:10:09 +00:00
Owner

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

  1. corepack enable pnpm — handles both runner images (forge-host-runner + tiki-host-runner per BUG-766)
  2. pnpm install --frozen-lockfile
  3. pnpm build — vite + tsc declarations
  4. Configure npm auth via NPM_TOKEN secret → ~/.npmrc
  5. pnpm publish --no-git-checks

$NPM_TOKEN secret created on haskytech/retest-queue (Forgejo Actions).

Usage

git tag v0.2.1
git push origin v0.2.1
# → CI publishes @haskytech/retest-queue@0.2.1 to Forgejo npm registry

Replaces the manual pnpm publish I ran for 0.2.0 and 0.2.1 during this session.

## 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 1. `corepack enable pnpm` — handles both runner images (forge-host-runner + tiki-host-runner per BUG-766) 2. `pnpm install --frozen-lockfile` 3. `pnpm build` — vite + tsc declarations 4. Configure npm auth via `NPM_TOKEN` secret → `~/.npmrc` 5. `pnpm publish --no-git-checks` $NPM_TOKEN secret created on haskytech/retest-queue (Forgejo Actions). ### Usage ```bash git tag v0.2.1 git push origin v0.2.1 # → CI publishes @haskytech/retest-queue@0.2.1 to Forgejo npm registry ``` Replaces the manual `pnpm publish` I ran for 0.2.0 and 0.2.1 during this session.
ci: add tag-based publish workflow for npm registry
Some checks failed
CI / Backend (pull_request) Has been cancelled
601dd976ca
Triggers on tag push matching 'v*' (e.g. v0.2.1) — same pattern as the
Python package publish workflow in haskytech-modules-py.

Steps:
1. corepack enable pnpm (handles both runner images)
2. pnpm install --frozen-lockfile
3. pnpm build (vite + tsc declarations)
4. Configure npm auth via NPM_TOKEN secret → ~/.npmrc
5. pnpm publish --no-git-checks

NPM_TOKEN secret created on haskytech/retest-queue (Forgejo Actions).

Usage: git tag v0.2.1 && git push --tags → CI publishes to Forgejo npm registry
haskos-bot deleted branch feat/publish-workflow 2026-07-20 00:10:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
haskytech/retest-queue!4
No description provided.