Skip to content

feat: add Storybook and Chromatic visual regression testing #2

feat: add Storybook and Chromatic visual regression testing

feat: add Storybook and Chromatic visual regression testing #2

Workflow file for this run

name: Chromatic
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}