* Remove beta release workflow and simplify stable release
Beta release is no longer used. Remove the workflow and simplify the
stable release to only support direct releases with a required version
input.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix npm OIDC: restore registry-url, clear NODE_AUTH_TOKEN, use Node 22
Previous fix removed registry-url entirely, causing ENEEDAUTH (no auth
at all). The correct approach: keep registry-url so npm knows the
endpoint, but clear NODE_AUTH_TOKEN at publish time so npm falls back
to OIDC. Also bump to Node 22 which ships with npm OIDC support.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix npm OIDC: use Node 24 for publish, unset bogus NODE_AUTH_TOKEN
Root cause: setup-packages resets Node to v20 (from .nvmrc), wiping
the npm upgrade. Node 20 ships with npm 10.x which has no OIDC
support. Fix: switch to Node 24 (ships with npm 11.5.1+) right before
publish, and unset the bogus NODE_AUTH_TOKEN that setup-node creates.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* Remove beta release workflow and simplify stable release
Beta release is no longer used. Remove the workflow and simplify the
stable release to only support direct releases with a required version
input.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix npm OIDC: restore registry-url, clear NODE_AUTH_TOKEN, use Node 22
Previous fix removed registry-url entirely, causing ENEEDAUTH (no auth
at all). The correct approach: keep registry-url so npm knows the
endpoint, but clear NODE_AUTH_TOKEN at publish time so npm falls back
to OIDC. Also bump to Node 22 which ships with npm OIDC support.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Remove beta release workflow and simplify stable release
Beta release is no longer used. Remove the workflow and simplify the
stable release to only support direct releases with a required version
input.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Fix npm publish by removing setup-node registry config that blocks OIDC
setup-node with registry-url sets NODE_AUTH_TOKEN to the GitHub token,
which npm uses instead of its OIDC flow, causing auth failures. Remove
registry-url/always-auth and switch beta workflow to OIDC too.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Node 20 ships with npm 10.x which doesn't support OIDC-based publish
authentication. Trusted publishing requires npm >= 11.5.1.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add --provenance flag to npm publish so it uses the GitHub OIDC token
exchange instead of the expired NODE_AUTH_TOKEN for authentication.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The cn-staging blueprint was not being rebuilt when CLI changes were
released, causing staging devboxes to run old code. This updates the
stable release workflow to publish both cn and cn-staging blueprints.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>