Skip to content

Commit ff8f730

Browse files
committed
ci(release): wire NPM_TOKEN to publish_cli as NODE_AUTH_TOKEN
OIDC trusted publishing requires WebAuthn to configure on the npm side. Until a hardware security key is available, fall back to the classic NPM_TOKEN secret so CI can publish @berkayorhan/bcode.
1 parent 5803e5d commit ff8f730

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ jobs:
282282
run: bun run build --filter=@t3tools/web --filter=@berkayorhan/bcode
283283

284284
- name: Publish CLI package
285+
env:
286+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
285287
run: node apps/server/scripts/cli.ts publish --tag "${{ needs.preflight.outputs.cli_dist_tag }}" --app-version "${{ needs.preflight.outputs.version }}" --verbose
286288

287289
release:

0 commit comments

Comments
 (0)