Skip to content

Commit 9c3d0d1

Browse files
committed
ci: fix npm auth for bun publish
1 parent 3c11379 commit 9c3d0d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838

3939
- name: Publish to NPM
4040
run: |
41-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > dist/.npmrc
42-
cd dist && bun publish --access public
41+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
42+
bun publish --access public
4343
env:
4444
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4545

0 commit comments

Comments
 (0)