Skip to content

Commit e5a26c6

Browse files
committed
fix: publish error to npm
1 parent ae43786 commit e5a26c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
with:
3030
node-version: '20'
3131
registry-url: 'https://registry.npmjs.org'
32-
token: ${{ secrets.NPM_TOKEN }}
3332

3433
- name: Install dependencies
3534
run: bun install --frozen-lockfile
@@ -59,6 +58,8 @@ jobs:
5958
6059
- name: Publish to npm
6160
run: npm publish --provenance --access public
61+
env:
62+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6263

6364
- name: Create GitHub Release
6465
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)