ci: try to add summary for Chromatic

This commit is contained in:
Gauthier Roebroeck 2025-07-11 10:34:25 +08:00
parent d382453ce0
commit 9ffbcef451

View file

@ -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