Adding chromatic workflow. #2
Workflow file for this run
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
# .github/workflows/chromatic.yml | ||
name: "Chromatic" | ||
on: push | ||
jobs: | ||
chromatic: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
# ⚠️ Pick one of these, matching the package manager for your project | ||
run: npm ci | ||
run: pnpm install | ||
Check failure on line 19 in .github/workflows/chromatic.yml GitHub Actions / ChromaticInvalid workflow file
|
||
run: yarn install --immutable --immutable-cache --check-cache | ||
- name: Publish to Chromatic | ||
uses: chromaui/action@latest | ||
with: | ||
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |