Skip to content

Commit 5d81556

Browse files
committed
chore(release): if node registry-url is omitted, NODE_AUTH_TOKEN should be as well
those code paths are dependent in actions/setup-node
1 parent 1abc0da commit 5d81556

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- uses: actions/setup-node@v6
2323
with:
2424
node-version: lts/*
25-
registry-url: 'https://registry.npmjs.org'
2625
- name: Install latest NPM
2726
# OIDC publishing requires a very up to date npm version
2827
run: |
@@ -43,9 +42,6 @@ jobs:
4342
git config --global user.email '[email protected]'
4443
- name: Publish Packages
4544
run: |
46-
# Clear NPM token from actions/setup-node default value,
47-
# or token-less OIDC publishing will fail, see: https://github.com/actions/setup-node/issues/1440
48-
unset NODE_AUTH_TOKEN
4945
npx envinfo
5046
echo "Verifying working directory is clean..."
5147
git diff --exit-code

0 commit comments

Comments
 (0)