From 0430ebcc9d254353ef888e287e16866091ee695b Mon Sep 17 00:00:00 2001 From: Ben Christel Date: Tue, 27 Aug 2024 10:54:29 -0700 Subject: [PATCH] Publish NPM snapshots for draft PRs --- .github/workflows/node-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 51933ade0a8..b7355093edb 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -278,11 +278,8 @@ jobs: publish_snapshot: name: Publish npm snapshot - # We don't publish snapshots on draft PRs or - # on the main Changeset "Version Packages" PR - if: | - github.event.pull_request.draft == false - && !startsWith(github.head_ref, 'changeset-release/') + # We don't publish snapshots on Changeset "Version Packages" PRs + if: !startsWith(github.head_ref, 'changeset-release/') runs-on: ${{ matrix.os }} strategy: matrix: