Skip to content

Merge pull request #6945 from Sage/FE-6791 #3537

Merge pull request #6945 from Sage/FE-6791

Merge pull request #6945 from Sage/FE-6791 #3537

name: Chromatic Push
on:
push:
# We need these branches to update their baselines when they are merged into
branches:
- master
- "[0-9]+.x"
- "[0-9]+.x.x"
- "[0-9]+.[0-9]+.x"
- "major/**"
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: ">=20.9.0 20"
- run: npm ci
- uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
exitOnceUploaded: true # We don't want it to fail CI, we'll be using the GitHub Check