Skip to content

Organize Storybook modals and factor shared modal primitives (#78) #173

Organize Storybook modals and factor shared modal primitives (#78)

Organize Storybook modals and factor shared modal primitives (#78) #173

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
paths:
- 'lib/**'
pull_request:
paths:
- 'lib/**'
permissions:
contents: read
jobs:
chromatic:
name: Visual Regression Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- name: Setup pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10
- name: Install dependencies
run: pnpm install
working-directory: lib
- name: Run Chromatic
uses: chromaui/action@1bbb5819252d9782cb7d77122d9becae467def18 # latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: lib
buildScriptName: build-storybook
exitZeroOnChanges: true
onlyChanged: true