ci: switch publish-tools to trusted publishing

This commit is contained in:
Dhravya Shah 2026-04-16 19:14:40 -07:00
parent 87af934361
commit 3f78545781

View file

@ -23,6 +23,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: Setup Bun
@ -38,7 +39,4 @@ jobs:
run: bun run build
- name: Publish
run: pnpm publish --access public --verbose
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public --provenance