Skip to content

Add tag-driven npm release workflow (trusted publishing)#2

Merged
ddyy merged 1 commit into
mainfrom
release-workflow
Jul 18, 2026
Merged

Add tag-driven npm release workflow (trusted publishing)#2
ddyy merged 1 commit into
mainfrom
release-workflow

Conversation

@ddyy

@ddyy ddyy commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Pushing a crypto-v* tag now runs the full suite, verifies the tag matches packages/crypto's version, and publishes via npm OIDC trusted publishing — no stored token, automatic provenance attestations, and publishConfig.provenance: true finally takes effect instead of fighting local publishes.

One-time setup required on npmjs.com before the next release (documented in the workflow header): package Settings → Trusted Publisher → GitHub Actions → repository ddyy/pk, workflow release-crypto.yml.

Replaces the local npm publish --provenance=false + OTP flow used for 0.1.0.

Pushing a crypto-v* tag runs the full suite, verifies the tag matches
packages/crypto's version, and publishes via npm OIDC trusted
publishing — no stored token, automatic provenance attestations
(publishConfig.provenance now takes effect instead of fighting local
publishes). Requires the one-time Trusted Publisher configuration on
npmjs.com (repo ddyy/pk, workflow release-crypto.yml), documented in
the workflow header.
@ddyy
ddyy merged commit 344790b into main Jul 18, 2026
2 checks passed
@ddyy
ddyy deleted the release-workflow branch July 18, 2026 04:58
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