From 3d40f84976c5ee075f47361a798bbdc03e42427b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 15 Jul 2024 19:10:35 +0900 Subject: [PATCH] chore(ci): Fix Wasm publish action --- .github/workflows/publish-npm-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-npm-package.yml b/.github/workflows/publish-npm-package.yml index c5e0153ca769..cf43a9b1714f 100644 --- a/.github/workflows/publish-npm-package.yml +++ b/.github/workflows/publish-npm-package.yml @@ -641,7 +641,7 @@ jobs: sed -i -e 's/"name": "@swc\/${{ matrix.settings.crate }}"/"name": "${{ matrix.settings.npm }}"/g' pkg/package.json - name: Publish - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ !inputs.skipBuild }} run: | npm config set provenance true echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc