Update npm-publish.yml

This commit is contained in:
Joel Stüdle 2025-03-13 10:38:03 +00:00 committed by GitHub
parent 99406d5c5a
commit b0bc563549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,14 @@ jobs:
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- name: Configure npm credentials
uses: actions/setup-node@v4
with:
node-version: '22.14.0'
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to NPM
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}