-
Notifications
You must be signed in to change notification settings - Fork 30
52 lines (50 loc) · 1.74 KB
/
chromatic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Chromatic - Visual regression testing"
on: push
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build css packages
run: npm run build -w slash/css && npm run build -w client/look-and-feel/css
- uses: chromaui/action@latest
name: Run Chromatic for design-system-slash-react
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_SLASH_REACT }}
zip: true
buildScriptName: "build:storybook"
workingDir: "slash/react"
onlyChanged: true
- uses: chromaui/action@latest
name: Run Chromatic for design-system-slash-css
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_SLASH_CSS }}
zip: true
buildScriptName: "build:storybook"
workingDir: "slash/css"
onlyChanged: true
- uses: chromaui/action@latest
name: Run Chromatic for design-system-lookandfeel-react
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_LOOKANDFEEL_REACT }}
zip: true
buildScriptName: "build:storybook"
workingDir: "client/look-and-feel/react"
onlyChanged: true
- uses: chromaui/action@latest
name: Run Chromatic for design-system-lookandfeel-css
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_LOOKANDFEEL_CSS }}
zip: true
buildScriptName: "build:storybook"
workingDir: "client/look-and-feel/css"
onlyChanged: true