Commit Graph

5 Commits

Author SHA1 Message Date
snomiao
171d0960ef fix(chromatic.yaml): change edit-mode from replace to append to preserve existing comments in pull request 2025-08-19 01:55:59 +00:00
snomiao
a89b9e89cd chore(chromatic.yaml): move permissions section inside the chromatic-deployment job for better organization and clarity 2025-08-19 01:55:59 +00:00
snomiao
205f45518c [feat] Optimize Chromatic workflow with automated PR status comments
- Replace complex GitHub Script actions with edumserrano/find-create-or-update-comment@v3
- Add comprehensive PR comments showing Storybook build progress and results
- Include build metrics: components, stories, visual changes, and errors
- Add direct links to Chromatic builds and Storybook previews
- Reduce workflow complexity by ~60 lines while maintaining functionality
- Use native GitHub Actions expressions for cleaner maintainability

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 01:55:59 +00:00
snomiao
1e9356763a chore(chromatic.yaml): restrict push branches to main only for better workflow management 2025-08-19 01:55:59 +00:00
snomiao
799b760c69 [feat] Add Chromatic GitHub Action for Storybook visual testing
- Add automated visual regression testing for Storybook components
- Configure workflow to run on main branch and PRs
- Auto-accept changes on main branch for baseline updates
- Uses build-storybook script for optimized builds

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 01:55:59 +00:00