Skip to content

Commit 2b68a64

Browse files
committed
Write npmrc after cd dist
1 parent 562352c commit 2b68a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/package-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
yarn build
5959
- name: Publish to npm
6060
run: |
61-
echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" >> .npmrc
6261
cd ./dist
62+
echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" > .npmrc
6363
if [ -z "${{ github.event.inputs.npm_tag }}" ]; then
6464
npm publish --access=public
6565
else

0 commit comments

Comments
 (0)