mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
29 lines
653 B
YAML
29 lines
653 B
YAML
name: Chromatic
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- packages/design-system/**
|
|
- .github/workflows/chromatic.yml
|
|
|
|
jobs:
|
|
chromatic:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4.1.1
|
|
with:
|
|
fetch-depth: 0
|
|
- run: corepack enable
|
|
- uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: 20.x
|
|
cache: 'pnpm'
|
|
- run: pnpm install --frozen-lockfile
|
|
|
|
- name: Publish to Chromatic
|
|
uses: chromaui/action@latest
|
|
with:
|
|
workingDir: packages/design-system
|
|
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
|