From d5baec8d68a031258ac4389e26535be086f403c5 Mon Sep 17 00:00:00 2001 From: Charlie Brown Date: Mon, 29 Jan 2024 11:14:20 -0600 Subject: [PATCH] Ensure CI creates a chromatic baseline against main (#2756) --- .github/workflows/chromatic.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 6a6c3c304..f7506f53c 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -1,8 +1,12 @@ name: Chromatic # Runs chromatic on: -# every pull request where there are changes in stories/ or packages/ and the PR is not in draft mode +# - every push to main (to create a chromatic baseline) +# - every pull request where there are changes in stories/ or packages/ and the PR is not in draft mode on: + push: + branches: + - main pull_request: branches: - main