Skip to content

ci: replace publish workflow with tag-triggered release pipeline#62

Merged
scarmuega merged 1 commit into
mainfrom
ci/release-pipeline
May 21, 2026
Merged

ci: replace publish workflow with tag-triggered release pipeline#62
scarmuega merged 1 commit into
mainfrom
ci/release-pipeline

Conversation

@scarmuega
Copy link
Copy Markdown
Member

@scarmuega scarmuega commented May 21, 2026

What

Replaces the GitHub-Release-triggered publish.yml with a release.yml conforming to the umbrella SDK release pipeline contract (u5c-factoryreference/sdk-pipeline-requirements.md).

  • Triggered by pushing a v* version tag (was: release: published)
  • Runs verifybuildtestpublish, each gating the next
  • The verify job checks the pushed tag against the package.json version and fails the release on mismatch — the manifest is the source of truth; the workflow never edits it
  • Publishes to npm via OIDC trusted publishing — no static token

Verification

Workflow YAML syntactically validated only. Not executed and the package not built this session — the pipeline can only be exercised by a real tag push.

Operational prerequisite

An npm trusted publisher must be configured on npmjs.org for @utxorpc/sdk (GitHub repo utxorpc/node-sdk, workflow release.yml) before the first release, or the OIDC publish fails. The old NPM_TOKEN secret can be removed once the first OIDC release is verified.

Replaces the GitHub-Release-triggered publish.yml with a release workflow conforming to the umbrella SDK release pipeline contract (u5c-factory reference/sdk-pipeline-requirements.md): a v* version tag triggers verify -> build -> test -> publish. The verify job checks the pushed tag against the package.json version and fails the release if they disagree; publish pushes to npm via OIDC trusted publishing (no static token).

Verification: workflow YAML syntactically validated only; not executed and the package not built this session. Requires an npm trusted-publisher configured on npmjs.org for @utxorpc/sdk (GitHub repo utxorpc/node-sdk, workflow release.yml) before the first release; the old NPM_TOKEN secret can be removed afterward.
@scarmuega scarmuega force-pushed the ci/release-pipeline branch from 7d4518d to 17c9782 Compare May 21, 2026 12:09
@scarmuega scarmuega merged commit 42e0d41 into main May 21, 2026
2 checks passed
@scarmuega scarmuega deleted the ci/release-pipeline branch May 21, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant