From 30d89930fd5181847a2b6a63661a0e3dd8ff2883 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ALLEGRO <26584973+JiPaix@users.noreply.github.com> Date: Mon, 6 May 2024 19:42:57 +0000 Subject: [PATCH] ci: prevent PRs from running publish --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 566dde0..e6dd460 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,7 @@ jobs: npm ci npm run build publish-if-needed: + if: github.event_name != 'pull_request' needs: [lint, build] runs-on: ubuntu-latest steps: