Skip to content

chore: Make title center in info panel when in mobile #61

chore: Make title center in info panel when in mobile

chore: Make title center in info panel when in mobile #61

# Workflow name
name: 'Chromatic Publish'
# Event for the workflow
on:
push:
branches:
- main # Replace with your main branch name
pull_request:
branches:
- main # Replace with your main branch name
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*' # Adjust to your Node.js version
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build Storybook
run: npm run build-storybook
- name: Run Chromatic
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
run: npm run chromatic
- uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
#👇 Chromatic projectToken,
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}