Skip to content

Commit de08366

Browse files
committed
chore: release
1 parent 8f5c1a8 commit de08366

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
- name: Build
3131
run: pnpm run build
3232

33+
- name: Set up npm auth
34+
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
35+
env:
36+
NPM_TOKEN: ${{ secrets.npm_token }}
37+
3338
- name: Publish to NPM
3439
run: pnpm publish --access public --no-git-checks
35-
env:
36-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)