Skip to content

Commit 29f087d

Browse files
committed
fix: chromatic actionpnpm install
1 parent bf0354b commit 29f087d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/chromatic.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,18 @@ jobs:
3131
uses: actions/checkout@v2
3232
with:
3333
fetch-depth: 0 # 👈 Required to retrieve git history
34+
- name: Setup pnpm
35+
uses: pnpm/action-setup@v2
36+
with:
37+
version: 8
38+
- name: Setup Node.js
39+
uses: actions/setup-node@v3
40+
with:
41+
node-version: 20
42+
cache: 'pnpm'
3443
- name: Install deps
3544
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
36-
run: pnpm
45+
run: pnpm install
3746
- name: Publish to Chromatic
3847
# 👇 Adds Chromatic as a step in the workflow
3948
uses: chromaui/action@v1

0 commit comments

Comments
 (0)