Skip to content

Commit 09a634c

Browse files
committed
ci: fix workflow again
1 parent 70c7356 commit 09a634c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,16 @@ jobs:
5959
echo "changelog<<EOF" >> $GITHUB_OUTPUT
6060
echo "$CHANGELOG" >> $GITHUB_OUTPUT
6161
echo "EOF" >> $GITHUB_OUTPUT
62+
- name: Initialize .npmrc
63+
run: |
64+
echo -e "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}\n$([ -e '.npmrc' ] && cat .npmrc || echo)" > .npmrc
65+
cat -n .npmrc
6266
- name: Publish to NPM
6367
id: publish
6468
env:
6569
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6670
run: |
67-
pnpm publish --access public
71+
pnpm publish --access public --no-git-checks
6872
- name: Publish to Github Release
6973
uses: softprops/action-gh-release@v2
7074
with:

0 commit comments

Comments
 (0)