From 6e601146d5a7a4f64fbb08e2a64166899f681e24 Mon Sep 17 00:00:00 2001 From: Kevin F Date: Wed, 5 Feb 2025 15:30:43 +0100 Subject: [PATCH] =?UTF-8?q?forgot=20i=20am=20on=20a=20test=20branch=20?= =?UTF-8?q?=F0=9F=98=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/PublishNpm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PublishNpm.yml b/.github/workflows/PublishNpm.yml index 44ac0a3a..950e4ad7 100644 --- a/.github/workflows/PublishNpm.yml +++ b/.github/workflows/PublishNpm.yml @@ -51,14 +51,14 @@ jobs: working-directory: src/Components - name: Publish to NPM (Latest) - if: github.ref_name != 'nightly' + if: github.ref_name == 'release' run: echo "non prerelase not configured for npm release." working-directory: src/Components env: NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }} - name: Publish to NPM (Next) - if: github.ref_name == 'nightly' + if: github.ref_name == 'nightly' || github.ref_name == 'gh-action-test-branch' run: npm publish --access public --tag next working-directory: src/Components env: