Skip to content

Commit 467ba56

Browse files
committed
fix: make sure npm token is empty during release
1 parent a2602e8 commit 467ba56

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release-with-changesets.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ jobs:
104104
uses: actions/setup-node@v6
105105
with:
106106
node-version: "${{ steps.lockversion.outputs.version }}"
107-
registry-url: "https://registry.npmjs.org"
108107
- if: steps.packagejson.outputs.exists == 'true'
109108
name: Install dependencies
110109
shell: bash
@@ -127,9 +126,7 @@ jobs:
127126
publish: npx -p @changesets/cli@2.27.7 changeset publish
128127
setupGitUser: false
129128
env:
130-
# Set NODE_AUTH_TOKEN to empty to use trusted publishing with
131-
# See: https://github.com/actions/setup-node/issues/1440
132-
NODE_AUTH_TOKEN: ""
129+
NPM_TOKEN: ''
133130
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
134131
GIT_AUTHOR_NAME: asyncapi-bot
135132
GIT_AUTHOR_EMAIL: info@asyncapi.io

0 commit comments

Comments
 (0)