chore: Make title center in info panel when in mobile #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |