Browse Source

Run Chromatic snapshots only on changed files.

pull/2096/head
Gabe Kangas 3 years ago committed by GitHub
parent
commit
8369c3c045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/chromatic.yml

5
.github/workflows/chromatic.yml

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

Loading…
Cancel
Save