ci: fix npm provenance

This commit is contained in:
三咲智子 Kevin Deng
2023-06-25 17:12:45 +08:00
parent 23029114e6
commit a5105297d7
3 changed files with 8 additions and 3 deletions

View File

@ -36,6 +36,7 @@ jobs:
run: pnpm i
- name: Publish to NPM
run: pnpm -r publish --provenance --access public --no-git-checks
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true