Skip to content

update CI

update CI #102

Workflow file for this run

name: Chromatic
on: push
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: 9
- name: install
run: pnpm install
- name: build storybook
run: pnpm build-storybook
- name: run chromatic
run: pnpm chromatic
env:
CHROMATIC_PROJECT_TOKEN: chpt_d1f0c3a104744ba
- name: Run Chromatic
id: run-chromatic-action
uses: chromaui/action@v11
with:
onlyChanged: true
traceChanged: true
zip: true
exitZeroOnChanges: true
exitOnceUploaded: true
autoAcceptChanges: 'main'
env:
CHROMATIC_PROJECT_TOKEN: chpt_d1f0c3a104744ba