voidzero-dev/Publish preview packages to the registry bridge
Pack locally built package directories and publish them, plus their integrity, to the pkg-pr-registry-bridge as the synthetic commit version. Packs with `pnpm pack` (resolving workspace:/catalog: specs), so run pnpm/action-setup and `pnpm install` first. Runs the CPU-heavy work in CI so the Worker only serves. No pkg.pr.new involvement.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sha | The commit sha to publish (a 7-40 hex sha, or commit.<sha>). | yes | — |
| packages | Package directories to publish, newline- or comma-separated, relative to the workspace. A trailing "/*" expands to every direct subdirectory containing a package.json (e.g. packages/cli/npm/*). Pass the same directories a registry publish would cover; deps between them are pinned to the synthetic version. Defaults to the vite-plus layout (packages/cli, packages/core, packages/prompts, packages/cli/npm/*, packages/cli/cli-npm/*); the authoritative default lives in the action. | no | — |
| bridge-url | Base URL of the registry bridge. | no | https://registry-bridge.viteplus.dev |
| admin-token | Bridge ADMIN_TOKEN (store as a secret). | yes | — |
| pr-url | URL of the source pull request, surfaced by /-/refs. Optional: pass github.event.pull_request.html_url on pull_request runs; leave empty on push/commit runs. | no | — |
| workspace-packages | Allowlist (comma-separated exact names or prefix* patterns). | no | vite-plus,@voidzero-dev/vite-plus-* |
Outputs
| name | description |
|---|---|
| version | The synthetic version published (0.0.0-commit.<sha>). |