diff --git a/.github/workflows/package-publish.yml b/.github/workflows/package-publish.yml index 169821a21..e5250a409 100644 --- a/.github/workflows/package-publish.yml +++ b/.github/workflows/package-publish.yml @@ -59,11 +59,11 @@ jobs: - name: Publish to npm run: | echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" >> .npmrc - cd dist + cd ./dist if [ -z "${{ github.event.inputs.npm_tag }}" ]; then - yarn npm publish --access=public + npm publish --access=public else - yarn npm publish --tag ${{ github.event.inputs.npm_tag }} --access=public + npm publish --tag ${{ github.event.inputs.npm_tag }} --access=public echo "npm_tag is provided; Skipping the rest of the steps." exit 1 fi