chore: update installation instructions for npm registry in release body
All checks were successful
Lint / lint (pull_request) Successful in 19s

This commit is contained in:
2026-03-27 08:59:28 +01:00
parent b59084dec6
commit f349b7b2a3

View File

@@ -62,17 +62,18 @@ jobs:
- name: Build binaries - name: Build binaries
run: bun run binaries run: bun run binaries
- name: Setup Node - name: Configure npm registry auth
uses: actions/setup-node@v4 run: |
with: echo "registry=https://registry.npmjs.org" >> ~/.npmrc
node-version: '20' echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm registry
run: npm publish --access public
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm registry
run: bun publish --access public
env:
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Gitea release and upload binaries - name: Create Gitea release and upload binaries
run: | run: |
VERSION=${GITHUB_REF_NAME#v} VERSION=${GITHUB_REF_NAME#v}