Skip to content

Chromatic

Chromatic #1222

Workflow file for this run

name: Chromatic
on:
workflow_dispatch:
pull_request_review:
types: [submitted]
jobs:
upload:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}