release: OIDC publishing + beta dist-tag → main #9

Merged
chrnx merged 3 commits from develop into main 2026-07-18 20:18:09 +00:00
Showing only changes of commit 1a313c21ad - Show all commits
+7 -1
View File
@@ -25,4 +25,10 @@ jobs:
- run: npm ci
# `npm publish` runs prepublishOnly (lint + complexity + typecheck + test + build) first.
# No NODE_AUTH_TOKEN — npm exchanges the OIDC id-token for a short-lived publish token.
- run: npm publish --access public
# A prerelease (26.7.0-beta.N) publishes under its channel tag (beta/alpha/rc) so `latest`
# never points at a beta; a stable version publishes under `latest`.
- name: Publish
run: |
TAG=$(node -e "const v=require('./package.json').version;const m=v.match(/-([a-z]+)/);console.log(m?m[1]:'latest')")
echo "dist-tag: $TAG"
npm publish --access public --tag "$TAG"