Skip to content

Commit defeeb5

Browse files
xrendanclaude
andcommitted
Remove NODE_AUTH_TOKEN for OIDC publishing
Use npm Trusted Publishers with OpenID Connect instead of static npm tokens for authentication. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bf8f5d8 commit defeeb5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ jobs:
5656

5757
- name: Publish @buildcanada/charts
5858
run: cd packages/charts && npm publish --access public --provenance ${{ env.DRY_RUN }}
59-
env:
60-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6159

6260
publish-colours:
6361
if: github.event.inputs.package == 'all' || github.event.inputs.package == 'colours' || github.event_name == 'release'
@@ -91,5 +89,3 @@ jobs:
9189

9290
- name: Publish @buildcanada/colours
9391
run: cd packages/colours && npm publish --access public --provenance ${{ env.DRY_RUN }}
94-
env:
95-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)