Run Chromatic snapshots only on changed files.

This commit is contained in:
Gabe Kangas 2022-09-08 16:33:15 -07:00 committed by GitHub
parent 859f70c039
commit 8369c3c045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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