ci: npmjs Trusted Publishing (OIDC, no token) #8

Merged
chrnx merged 2 commits from ci/trusted-publishing into develop 2026-07-18 20:17:43 +00:00
Owner

Prod publish now uses OIDC Trusted Publishing instead of NPM_AUTH. Needs a trusted publisher configured on npmjs for @green-tea/core.

Prod publish now uses OIDC Trusted Publishing instead of NPM_AUTH. Needs a trusted publisher configured on npmjs for @green-tea/core.
chrnx added 1 commit 2026-07-18 19:53:32 +00:00
Replaces the NPM_AUTH secret on the prod path with npm Trusted Publishing: id-token: write + npm>=11.5.1, npm exchanges the OIDC token for a short-lived publish token and attaches provenance. Requires a trusted publisher configured on npmjs (Expressive-Tea/green-tea, release.yml).

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx added 1 commit 2026-07-18 19:59:53 +00:00
A beta/alpha/rc version must not become 'latest' on npmjs (else npm install serves a prerelease). Derive the dist-tag from the version: 26.7.0-beta.0 -> beta, stable -> latest.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx merged commit ab6b1b1ef2 into develop 2026-07-18 20:17:43 +00:00
Sign in to join this conversation.