-
Notifications
You must be signed in to change notification settings - Fork 35
40 lines (37 loc) · 975 Bytes
/
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
name: Chromatic CI
on:
push:
branches:
- v*-dev
pull_request:
branches:
- v*-dev
jobs:
chromatic-ec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
fetch-depth: 0
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Chromatic for EC
run: npm run chromatic-EC
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
chromatic-eu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
fetch-depth: 0
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run Chromatic for EU
run: npm run chromatic-EU
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN_EU }}