Skip to content

Commit 6e90005

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ jobs:
2525
- name: Publish
2626
env:
2727
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
28-
run: pnpm publish -r --no-git-checks --access public
28+
run: |
29+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
30+
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
31+
pnpm publish -r --no-git-checks --access public

0 commit comments

Comments
 (0)