Skip to content

Commit f648b8d

Browse files
feat: update release script
1 parent 27b4b4c commit f648b8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
- name: Build
4545
run: yarn build
4646
- name: Publish
47-
uses: actions/npm@master
47+
run: |
48+
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
49+
npm publish
4850
env:
4951
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
50-
with:
51-
args: publish
5252
- uses: 8398a7/action-slack@v1
5353
with:
5454
type: failure

0 commit comments

Comments
 (0)