chore(ci): more updating CI to run more efficient

This commit is contained in:
Gabe Kangas
2025-10-07 13:11:52 -07:00
parent 728bd3e96d
commit a3915bd89d
6 changed files with 84 additions and 28 deletions
+17 -4
View File
@@ -2,10 +2,9 @@
# This workflow publishes Storybook to Chromatic for visual regression testing
# Triggers:
# - Push/PR with changes to web/ directory
# - Push/PR with changes to web components, stories, or styles
# Skips:
# - Static files
# - next.config.js changes
# - Renovate bot PRs
# Features:
# - Uses onlyChanged for efficient testing
@@ -16,10 +15,24 @@ name: 'Chromatic'
on:
push:
paths:
- web/**
- 'web/components/**'
- 'web/stories/**'
- 'web/.storybook/**'
- 'web/**/*.{css,scss}'
- 'web/i18n/**'
- 'web/package.json'
- 'web/package-lock.json'
- '.github/workflows/chromatic.yml'
pull_request:
paths:
- web/**
- 'web/components/**'
- 'web/stories/**'
- 'web/.storybook/**'
- 'web/**/*.{css,scss}'
- 'web/i18n/**'
- 'web/package.json'
- 'web/package-lock.json'
- '.github/workflows/chromatic.yml'
# List of jobs
jobs: