Skip to content

Commit 35de2f4

Browse files
committed
ci: remove redundant registry-url and clean up env in release workflow
1 parent 6ed901f commit 35de2f4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- uses: actions/setup-node@v4
2222
with:
2323
node-version: '22'
24-
registry-url: 'https://registry.npmjs.org'
2524
- name: Create Release PR or Detect Publishable Versions
2625
id: changesets
2726
uses: changesets/action@v1
@@ -34,7 +33,6 @@ jobs:
3433
- name: Publish to npm
3534
if: steps.changesets.outputs.hasChangesets == 'false'
3635
run: |
36+
npm config set registry https://registry.npmjs.org
3737
bun run build
3838
npx changeset publish
39-
env:
40-
NODE_AUTH_TOKEN: ''

0 commit comments

Comments
 (0)