From b7aeb3c9ed53e4b6c948591b1a40e27c90954058 Mon Sep 17 00:00:00 2001 From: Reuben Ellis Date: Fri, 21 Jul 2023 17:44:57 -0600 Subject: [PATCH 1/2] Update ci.yaml Modified the Chromatic job configuration to reduce snapshot usage and only run Chromatic on necessary UI changes. Signed-off-by: BrunoQuaresma --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e49115856075..015b3ad8922bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -575,10 +575,17 @@ jobs: with: buildScriptName: "storybook:build" exitOnceUploaded: true + # This will prevent CI from failing when Chromatic detects visual changes + exitZeroOnChanges: true # Chromatic states its fine to make this token public. See: # https://www.chromatic.com/docs/github-actions#forked-repositories projectToken: 695c25b6cb65 workingDir: "./site" + # Prevent excessive build runs on minor version changes + skip: '@(renovate/**|dependabot/**)' + # Run TurboSnap to trace file dependencies to related stories + # and tell chromatic to only take snapshots of relevent stories + onlyChanged: true # This is a separate step for mainline only that auto accepts and changes # instead of holding CI up. Since we squash/merge, this is defensive to @@ -594,9 +601,14 @@ jobs: STORYBOOK: true with: autoAcceptChanges: true + # This will prevent CI from failing when Chromatic detects visual changes + exitZeroOnChanges: true buildScriptName: "storybook:build" projectToken: 695c25b6cb65 workingDir: "./site" + # Run TurboSnap to trace file dependencies to related stories + # and tell chromatic to only take snapshots of relevent stories + onlyChanged: true offlinedocs: name: offlinedocs From 596ffad6a856f818276efe63051201322546f63d Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Thu, 27 Jul 2023 18:34:18 +0000 Subject: [PATCH 2/2] fix fmt --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 015b3ad8922bf..e9933a0f89926 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -582,7 +582,7 @@ jobs: projectToken: 695c25b6cb65 workingDir: "./site" # Prevent excessive build runs on minor version changes - skip: '@(renovate/**|dependabot/**)' + skip: "@(renovate/**|dependabot/**)" # Run TurboSnap to trace file dependencies to related stories # and tell chromatic to only take snapshots of relevent stories onlyChanged: true pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy