Skip to content

(Pay no attention to this PR) CRAFT-1606-chromatic in CI #8

(Pay no attention to this PR) CRAFT-1606-chromatic in CI

(Pay no attention to this PR) CRAFT-1606-chromatic in CI #8

Workflow file for this run

name: Chromatic
on:
push:
branches:
- main
paths:
- "packages/nimbus/**"
- "packages/tokens/**"
- "packages/nimbus-icons/**"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/nimbus/**"
- "packages/tokens/**"
- "packages/nimbus-icons/**"
jobs:
chromatic:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false || github.event_name == 'push'
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Installing dependencies and building packages
uses: ./.github/actions/ci
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
storybookBaseDir: packages/nimbus
buildScriptName: build-storybook
zip: true