Run Chromatic snapshots only on changed files.
This commit is contained in:
parent
859f70c039
commit
8369c3c045
5
.github/workflows/chromatic.yml
vendored
5
.github/workflows/chromatic.yml
vendored
@ -7,9 +7,6 @@ on:
|
||||
push:
|
||||
paths:
|
||||
- web/**
|
||||
pull_request_target:
|
||||
paths:
|
||||
- web/**
|
||||
|
||||
# List of jobs
|
||||
jobs:
|
||||
@ -38,5 +35,5 @@ jobs:
|
||||
with:
|
||||
workingDir: web
|
||||
autoAcceptChanges: webv2
|
||||
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
|
||||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|
||||
onlyChanged: true
|
||||
|
Loading…
Reference in New Issue
Block a user