Skip to content

Feature/1163 toggle group make available in all themes #3893

Feature/1163 toggle group make available in all themes

Feature/1163 toggle group make available in all themes #3893

Workflow file for this run

name: 'Chromatic'
on:
pull_request:
branches: [ "main" ]
types: [opened, synchronize, reopened, closed, ready_for_review]
push:
branches: [ "main" ]
workflow_dispatch:
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_AUTH_TOKEN }}
FONT_AWESOME_AUTH_TOKEN: ${{ secrets.FONT_AWESOME_AUTH_TOKEN }}
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
if: '! github.event.pull_request.draft'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: yarn install --immutable
- name: Publish to Chromatic - Components
uses: chromaui/action@latest
with:
autoAcceptChanges: main
buildScriptName: chromatic-components
exitOnceUploaded: true
projectToken: ${{ secrets.CHROMATIC_TOKEN }}
onlyChanged: true
workingDir: .
- name: Publish to Chromatic - Themes
uses: chromaui/action@v1
with:
autoAcceptChanges: main
buildScriptName: themes
exitOnceUploaded: true
projectToken: ${{ secrets.CHROMATIC_TOKEN_THEMES }}
onlyChanged: true
workingDir: chromatic