Skip to content

Commit

Permalink
ci: Run Storybook only on frontend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Jun 6, 2024
1 parent e1d730c commit 9336702
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ name: 'Storybook'

on:
pull_request:
branches: ["**"]
branches: ['**']
paths:
- 'frontend/**'
- '.github/workflows/storybook.yml'
push:
branches: ["main"]
branches: ['main']
paths:
- 'frontend/**'
- '.github/workflows/storybook.yml'

jobs:
chromatic:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
concurrency:
# prettier-ignore
group: chromatic-${{ github.event_name }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
steps:
Expand Down

0 comments on commit 9336702

Please sign in to comment.