Skip to content

Commit 99f762a

Browse files
updated auth type
1 parent 8686e3f commit 99f762a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
- name: Clear npmrc to enforce OIDC auth
23+
run: |
24+
rm -f ~/.npmrc
25+
rm -f .npmrc
26+
2227
- name: Setup Node.js
2328
uses: actions/setup-node@v4
2429
with:
@@ -37,6 +42,5 @@ jobs:
3742
run: npm run build
3843

3944
- name: Publish to npm
40-
# Removed the 'env: NODE_AUTH_TOKEN' line entirely.
4145
# OIDC handles authentication automatically now.
4246
run: npm publish --provenance # Added --provenance as a 2025 best practice

0 commit comments

Comments
 (0)