Skip to content

Commit f320b85

Browse files
committed
fix publish err
1 parent 0cdb398 commit f320b85

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish-npm-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- name: Install dependencies
2020
run: npm ci
2121

22-
- name: Publish to NPM
23-
run: npm publish
24-
env:
25-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
- uses: JS-DevTools/npm-publish@v1
23+
with:
24+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)