From 562352c3447b20949e7dd17dff96ce47723647a7 Mon Sep 17 00:00:00 2001 From: Irene Ryu Date: Thu, 23 May 2024 14:51:47 +0900 Subject: [PATCH] replace yarn npm -> npm --- .github/workflows/package-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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