Skip to content

test5

test5 #11

Workflow file for this run

name: Deploy to Chromatic
on:
push:
paths:
- packages/flitter/**/*
- packages/story/**/*
- .github/workflows/chromatic.yml
branches:
- dev
- devops-27-storybook
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install dependencies
run: |
npm ci
- name: Deploy to Chromatic
uses: chromaui/action@latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
with:
projectToken: ${{ env.CHROMATIC_PROJECT_TOKEN }}
workingDir: packages/story
buildScriptName: build-storybook
autoAcceptChanges: true