Skip to content

Commit 57ac185

Browse files
authored
Merge pull request #38 from cerebrl/ci/chromatic-change
ci: chromatic-on-non-draft-only
2 parents 16e935e + 0b21826 commit 57ac185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- run: npm ci
2323
- run: npm run build
2424
- name: Publish to Chromatic
25-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node < 17 }}
25+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.node < 17 && !github.event.pull_request.draft }}
2626
uses: chromaui/action@v1
2727
with:
2828
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

0 commit comments

Comments
 (0)