Skip to content

Commit 562352c

Browse files
committed
replace yarn npm -> npm
1 parent ea14249 commit 562352c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/package-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959
- name: Publish to npm
6060
run: |
6161
echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" >> .npmrc
62-
cd dist
62+
cd ./dist
6363
if [ -z "${{ github.event.inputs.npm_tag }}" ]; then
64-
yarn npm publish --access=public
64+
npm publish --access=public
6565
else
66-
yarn npm publish --tag ${{ github.event.inputs.npm_tag }} --access=public
66+
npm publish --tag ${{ github.event.inputs.npm_tag }} --access=public
6767
echo "npm_tag is provided; Skipping the rest of the steps."
6868
exit 1
6969
fi

0 commit comments

Comments
 (0)