Add GitHub Actions workflow for automated npm publishing of pi-model-auto-router #2

Merged
Copilot merged 1 commit from copilot/npm into main 2026-08-31 11:20:41 +08:00
Copilot commented 2026-08-31 11:20:31 +08:00 (Migrated from github.com)

Adds a CI workflow to publish pi-model-auto-router to npm on version tag push.

Changes

  • .github/workflows/publish.yml: Triggers on tags matching pi-model-auto-router/v*; installs deps, builds via tsc, and publishes with npm provenance (--provenance) using NPM_TOKEN secret

Usage

git tag pi-model-auto-router/v0.1.7
git push origin pi-model-auto-router/v0.1.7

Requires NPM_TOKEN set in repository secrets (Settings → Secrets → Actions).

Adds a CI workflow to publish `pi-model-auto-router` to npm on version tag push. ## Changes - **`.github/workflows/publish.yml`**: Triggers on tags matching `pi-model-auto-router/v*`; installs deps, builds via `tsc`, and publishes with npm provenance (`--provenance`) using `NPM_TOKEN` secret ## Usage ```bash git tag pi-model-auto-router/v0.1.7 git push origin pi-model-auto-router/v0.1.7 ``` Requires `NPM_TOKEN` set in repository secrets (Settings → Secrets → Actions).
Sign in to join this conversation.
No description provided.