Skip to content

Merge pull request #246 from storybookjs/sb-test-eap-eyebrow #1067

Merge pull request #246 from storybookjs/sb-test-eap-eyebrow

Merge pull request #246 from storybookjs/sb-test-eap-eyebrow #1067

Workflow file for this run

name: 'Chromatic'
on: [push, pull_request]
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build:ui
- name: Run Chromatic (frontpage)
uses: chromaui/action@latest
with:
workingDir: apps/frontpage
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_FRONTPAGE }}
- name: Run Chromatic (ui)
uses: chromaui/action@latest
with:
workingDir: packages/ui
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_UI }}