From a69e499abc486c8e71a0b76a088b606b7f457686 Mon Sep 17 00:00:00 2001 From: Sondre Aasemoen Date: Thu, 28 Nov 2024 20:53:15 +0100 Subject: [PATCH] Only publish from one CI --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e9e649c..9338b3c 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -38,7 +38,7 @@ jobs: cd .. && pnpm test - name: Publish - if: startsWith(github.ref, 'refs/tags/v') + if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.node == 'latest' }} run: pnpm publish --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}