Skip to content

Commit 77a4ed4

Browse files
committed
updated npm publish step
1 parent 1c2ffc6 commit 77a4ed4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npmPublish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
- name: Push to npm
4242
working-directory: ./sdk
43-
run: npm publish
43+
run: |
44+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
45+
npm publish
4446
env:
4547
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)