-
-
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 20
cache: yarn
- run: yarn install --immutable
- name: Publish to Chromatic
uses: chromaui/action@cbce1be7d075d5317d2193e7a3d3872dca86cf0c # v11
with:
buildScriptName: storybook:build
exitOnceUploaded: true
projectToken: chpt_e3cba49738d7554
workingDir: packages/catppuccin-vsc-storybook