From 46e8f8a484fe40851a20375f4bf0c51164ef2edf Mon Sep 17 00:00:00 2001 From: Trayan Azarov Date: Tue, 7 May 2024 14:08:52 +0300 Subject: [PATCH] fix: npm publish --- .github/workflows/publish.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6626a52..3eaa54f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -49,6 +49,10 @@ jobs: - name: Install Dependencies run: npm install - name: Publish Package - run: npm publish --tag "${{ steps.tag.outputs.tag_name }}" +# run: npm publish --tag "${{ steps.tag.outputs.tag_name }}" + run: | + set -e + npm version "${{ steps.tag.outputs.tag_name }}" --no-git-tag-version + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}