Skip to content

chore(action): workflow node #2

chore(action): workflow node

chore(action): workflow node #2

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 dependencies
run: pnpm install
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}