Skip to content

Merge pull request #4 from Bandmators/feature/badge #11

Merge pull request #4 from Bandmators/feature/badge

Merge pull request #4 from Bandmators/feature/badge #11

Workflow file for this run

name: "Chromatic"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install pnpm
run: |
npm install -g pnpm
- name: Install Packages
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}