forked from base/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (24 loc) · 781 Bytes
/
chromatic.yml
File metadata and controls
27 lines (24 loc) · 781 Bytes
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
name: "Chromatic Publish"
on:
push:
paths:
- "storybook/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install dependencies
run: cd storybook && yarn install
- uses: chromaui/action@3378c92d26c32353e53166beac732e2edc14213c # latest
with:
workingDir: storybook
buildScriptName: build-storybook
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true