Skip to content

Commit 5dba50c

Browse files
committed
fix(ci): use vp for chromatic build-storybook command
Chromatic action tries to spawn pnpm directly which isn't on PATH when using setup-vp. Use buildScriptName to run via vp instead.
1 parent 1febe33 commit 5dba50c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/chromatic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- name: 🧪 Run Chromatic Visual and Accessibility Tests
3535
uses: chromaui/action@0794e6939fe40ce46a88963f818092afc427da5b # v15.3.0
36+
with:
37+
buildScriptName: vp run build-storybook
3638
env:
3739
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
3840
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)