Skip to content

Commit 95b9be3

Browse files
committed
ci: fix workflow again
1 parent 70c7356 commit 95b9be3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ 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$(cat .npmrc)" > .npmrc
65+
&& cat -n .npmrc
6266
- name: Publish to NPM
6367
id: publish
6468
env:

0 commit comments

Comments
 (0)