From 9ffbcef4516e6e09ac7878a470ef2fff2fab1405 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 11 Jul 2025 10:34:25 +0800 Subject: [PATCH] ci: try to add summary for Chromatic --- .github/workflows/chromatic.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 450721105..ccace2c79 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -30,6 +30,7 @@ jobs: run: npm run i18n:compile - name: Run Chromatic + id: chromatic uses: chromaui/action@latest with: workingDir: next-ui @@ -37,3 +38,9 @@ jobs: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} autoAcceptChanges: 'next-ui' skip: 'dependabot/**' + + - name: Summary + run: | + echo "Chromatic:" >> $GITHUB_STEP_SUMMARY + echo "- [Build](${{ steps.chromatic.outputs.buildUrl }})" >> $GITHUB_STEP_SUMMARY + echo "- [Storybook](${{ steps.chromatic.outputs.storybookUrl }})" >> $GITHUB_STEP_SUMMARY