From 08c9e8733a2486b9a8dea59376a41410d8e7b82b Mon Sep 17 00:00:00 2001 From: SilverFire - Dmytro Naumenko Date: Wed, 9 Oct 2024 12:13:20 +0300 Subject: [PATCH] Push NPM package only on tags --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ba77ba..71a39ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: release: runs-on: ubuntu-latest + if: startsWith(github.event.ref, 'refs/tags/') needs: test steps: - uses: actions/checkout@v4