Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 32c3c1d

Browse files
authored
Update npm auth env
Use the env var `NODE_AUTH_TOKEN` as `actions/setup-node` will auto-magically read this env var in the created `.npmrc` file it creates. Ref: https://github.com/actions/setup-node/blob/d1b197b965eb46e1a1878caad41c4ab3efae133f/src/authutil.ts#L48
1 parent d795db4 commit 32c3c1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/github-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ jobs:
5353
- run: make build
5454
- run: npm publish --provenance --access public
5555
env:
56-
NPM_TOKEN: ${{ secrets.NPM_WEBAUTHN_JSON_PUBLISH_TOKEN }}
56+
NODE_AUTH_TOKEN: ${{ secrets.NPM_WEBAUTHN_JSON_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)