ci: npm tag latest

This commit is contained in:
Stephen Zhou
2025-11-26 21:34:57 +08:00
parent 6d8b81fd19
commit d3b8c48e94
+1 -1
View File
@@ -39,6 +39,6 @@ jobs:
git config --local user.name "GitHub Action"
npx version-from-git --allow-same-version --template 'master.short'
- name: Publish to npmjs
run: pnpm publish --provenance --access public
run: pnpm publish --provenance --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}