Skip to content

chore: chromatic action with env vars #2

chore: chromatic action with env vars

chore: chromatic action with env vars #2

Workflow file for this run

name: "Chromatic"
on: push
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: copy .env file
run: cp .env.example .env
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}