Skip to content

chore!: refactor Dialog component to use radix primitive #61

chore!: refactor Dialog component to use radix primitive

chore!: refactor Dialog component to use radix primitive #61

Workflow file for this run

name: 'Chromatic'
on:
push:
branches:
- main
- develop
- releases/*
pull_request: {}
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: 'Restore cache'
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install deps
run: yarn install
- name: Build
run: yarn build --filter=\!@strapi/design-system-docs
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: docs