We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 164f2be commit 7b0aa23Copy full SHA for 7b0aa23
1 file changed
.github/workflows/chromatic.yml
@@ -0,0 +1,30 @@
1
+name: 'Chromatic Deployment'
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - dev
7
+ paths:
8
+ - 'src/stories/**'
9
+ - '.storybook/**'
10
+ - 'package.json'
11
+ - 'pnpm-lock.yaml'
12
13
+jobs:
14
+ chromatic:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
21
+ - name: Enable pnpm
22
+ run: corepack enable && corepack prepare pnpm@8.15.4 --activate
23
24
+ - name: Install dependencies
25
+ run: pnpm install
26
27
+ - uses: chromaui/action@latest
28
29
+ projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
30
+ token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments