Skip to content

Commit c99393c

Browse files
Update publish.yml
1 parent c94a233 commit c99393c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
permissions:
1111
contents: read
1212
id-token: write # required for npm trusted publisher (OIDC)
13+
env:
14+
NODE_AUTH_TOKEN: "" # ensure we rely on OIDC, not a token
1315

1416
steps:
1517
- uses: actions/checkout@v4
@@ -22,9 +24,6 @@ jobs:
2224

2325
- run: npm ci
2426
- run: npm run build
25-
26-
- name: Verify identity (OIDC)
27-
run: npm whoami
2827

2928
# OIDC auth + provenance; no token needed when using trusted publishers
3029
- run: npm publish --provenance --access public

0 commit comments

Comments
 (0)