Skip to content

Create OverviewLayout component #1605

Create OverviewLayout component

Create OverviewLayout component #1605

Workflow file for this run

name: "Chromatic"
on:
pull_request:
push:
branches:
- main
env:
PUBLIC_BUILD: true
concurrency:
group:
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
chromatic:
permissions: write-all
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "21.x"
cache: npm
- run: npm ci
- name: Run Chromatic
id: chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: "main"
exitOnceUploaded: true
- name: Publish Storybook Link in the comments
if: github.event_name == 'pull_request'
uses: dannyhw/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
review-url: ${{ steps.chromatic.outputs.url }}
build-url: ${{ steps.chromatic.outputs.buildUrl }}
storybook-url: ${{ steps.chromatic.outputs.storybookUrl }}