Skip to content

Commit cbe8907

Browse files
committed
changed npm publish in deploy action
1 parent 10bd648 commit cbe8907

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/update-and-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ jobs:
8181
run: npm run build
8282

8383
- name: Publish package
84-
uses: JS-DevTools/npm-publish@v1
85-
with:
86-
access: 'public'
87-
check-version: true
88-
token: ${{ secrets.NPM_AUTH_TOKEN }}
84+
run: npm publish --access public
85+
env:
86+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
8987
if: success()
9088

9189
- name: Revert package.json and package-lock.json

0 commit comments

Comments
 (0)