Skip to content

Commit 2f03c8b

Browse files
committed
fix: add npm auth setup step to release workflow
1 parent 788f21a commit 2f03c8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
bun-version: ${{ env.BUN_VERSION }}
4848
- name: Install dependencies
4949
run: bun install --frozen-lockfile
50+
- name: Setup npm auth
51+
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
52+
env:
53+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5054
- name: Publish to npm
5155
run: npm publish
5256
env:

0 commit comments

Comments
 (0)