Skip to content

Commit a4d3041

Browse files
committed
fix ci
1 parent 0d3e073 commit a4d3041

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717

1818
- name: Node commands
1919
uses: actions/setup-node@v3
20+
with:
21+
registry-url: 'https://registry.npmjs.org/'
2022

2123
- run: npm install
2224

@@ -25,12 +27,12 @@ jobs:
2527
- run: npm publish
2628
if: steps.get_version.outputs.prerelease == ''
2729
env:
28-
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2931

3032
- run: npm publish --tag next
3133
if: steps.get_version.outputs.prerelease != ''
3234
env:
33-
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3436

3537
- name: Release
3638
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)