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