Skip to content

Commit

Permalink
Publish NPM snapshots for draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
benchristel committed Aug 27, 2024
1 parent 93ad3c6 commit 0430ebc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0430ebc

Please sign in to comment.