Skip to content

Fix Chromatic workflow to ensure builds are created for all branches #2407

Fix Chromatic workflow to ensure builds are created for all branches

Fix Chromatic workflow to ensure builds are created for all branches #2407

Workflow file for this run

name: "Chromatic"
on:
push:
workflow_dispatch: # Allows manual triggering from GitHub UI
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: 5981upe4q43
exitZeroOnChanges: true
exitOnceUploaded: true
onlyChanged: false