Merge pull request #246 from storybookjs/sb-test-eap-eyebrow #1067
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |