Skip to content

Commit 7ea9780

Browse files
committed
fix: correct publish config
1 parent 038c45c commit 7ea9780

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50-
run: pnpm publish --no-git-checks
50+
run: |
51+
pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
52+
pnpm publish --no-git-checks
5153
5254
- name: Deploy 🚀
5355
uses: JamesIves/github-pages-deploy-action@v4.2.3

0 commit comments

Comments
 (0)