Add setup-node step for npm registry auth (#8)

setup-node with registry-url configures the .npmrc with the OIDC
token needed for trusted publishing via bunx npm publish.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-03-14 01:29:36 +00:00
committed by GitHub
parent 3827ccff23
commit 8680ef66c8

View File

@@ -19,6 +19,11 @@ jobs:
- uses: oven-sh/setup-bun@v2
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: bun install
- run: bun run build