Skip to content

Commit 6ab7c94

Browse files
committed
[ci skip] chore: fix publish.yml
1 parent 53a3b09 commit 6ab7c94

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,5 @@ jobs:
2424
- run: pnpm build
2525
- name: Publish
2626
env:
27-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
28-
run: |
29-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
30-
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
31-
pnpm publish -r --no-git-checks --access public
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
28+
run: pnpm publish -r --no-git-checks --access public

0 commit comments

Comments
 (0)