-
-
Notifications
You must be signed in to change notification settings - Fork 51
34 lines (31 loc) · 979 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
on:
push:
branches: [main]
paths:
- "packages/catppuccin-vsc/src/theme/**/*.ts"
- "packages/catppuccin-vsc-storybook/**/*"
pull_request:
paths:
- "packages/catppuccin-vsc/src/theme/**/*.ts"
- "packages/catppuccin-vsc-storybook/**/*"
name: "Chromatic"
jobs:
chromatic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: 18
cache: yarn
- run: yarn install --immutable
- name: Publish to Chromatic
uses: chromaui/action@fdbe7756d4dbf493e2fbb822df73be7accd07e1c # v11
with:
buildScriptName: storybook:build
exitOnceUploaded: true
projectToken: chpt_e3cba49738d7554
workingDir: packages/catppuccin-vsc-storybook