Skip to content

refactor: run on main only #3

refactor: run on main only

refactor: run on main only #3

Workflow file for this run

name: "Chromatic"
on: push
branches:

Check failure on line 4 in .github/workflows/chromatic.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/chromatic.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- main
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm ci
- name: Run Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
exitZeroOnChanges: true
autoAcceptChanges: "main"
skip: "renovate/**"