Skip to content

Commit edac8c3

Browse files
fix: registry url fixed (#1928)
* fix: registry url fixed Signed-off-by: Tushar Anand <tusharannand@gmail.com> * chore: follow changesets/changesets#1152 Added NPM_TOKEN and NPM_CONFIG_PROVENANCE to the workflow. --------- Signed-off-by: Tushar Anand <tusharannand@gmail.com> Co-authored-by: Ashish Padhy <ashishpadhy1729@gmail.com>
1 parent 828decb commit edac8c3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ jobs:
9999
id: lockversion
100100
with:
101101
node-version: ${{ vars.NODE_VERSION }}
102-
registry-url: "https://registry.npmjs.org"
103102
- if: steps.packagejson.outputs.exists == 'true'
104103
name: Setup Node.js
105104
uses: actions/setup-node@v4
106105
with:
107106
node-version: "${{ steps.lockversion.outputs.version }}"
107+
registry-url: "https://registry.npmjs.org"
108108
- if: steps.packagejson.outputs.exists == 'true'
109109
name: Install dependencies
110110
shell: bash
@@ -127,8 +127,11 @@ jobs:
127127
publish: npx -p @changesets/cli@2.27.7 changeset publish
128128
setupGitUser: false
129129
env:
130-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
130+
# Workaround for https://github.com/changesets/changesets/issues/1152
131131
NODE_AUTH_TOKEN: ""
132+
NPM_TOKEN: ""
133+
NPM_CONFIG_PROVENANCE: true
134+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
132135
GIT_AUTHOR_NAME: asyncapi-bot
133136
GIT_AUTHOR_EMAIL: info@asyncapi.io
134137
GIT_COMMITTER_NAME: asyncapi-bot

0 commit comments

Comments
 (0)