Skip to content

Commit 18ddf9d

Browse files
committed
ci: install pnpm globally for Chromatic workflow
Chromatic action runs `pnpm run build-storybook` internally, which fails with ENOENT when pnpm is not available. Add `vp install -g pnpm` after setup-vp to ensure pnpm is on PATH.
1 parent c8887e6 commit 18ddf9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/chromatic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
node-version: lts/*
3232
cache: true
3333

34+
- name: 🟧 Install pnpm globally
35+
run: vp install -g pnpm
36+
3437
- name: 🧪 Run Chromatic Visual and Accessibility Tests
3538
uses: chromaui/action@f191a0224b10e1a38b2091cefb7b7a2337009116 # v16.0.0
3639
env:

0 commit comments

Comments
 (0)