fix: make published package public

This commit is contained in:
鲁树人 2021-12-19 20:51:09 +00:00
parent 419fb1c691
commit 5ef226d0d0

View File

@ -27,7 +27,7 @@ jobs:
name: package name: package
path: '*.tgz' path: '*.tgz'
- name: 🚀 Publish Package - name: 🚀 Publish Package
run: npm publish run: npm publish --access public
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}