From 17e22a9414a15d019aa72d0182ca727a9aa2b772 Mon Sep 17 00:00:00 2001 From: Pranay Kothapalli Date: Sun, 17 Dec 2023 20:00:12 +0530 Subject: [PATCH] Add push event for specific file paths in Chromatic workflow --- .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 7e73b67c..1c67d2d8 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -2,7 +2,11 @@ name: "Chromatic" -on: push +on: + push: + paths: + - 'src/components/**/*.{js,jsx,ts,tsx}' + jobs: chromatic: