Skip to content

Commit dfd2797

Browse files
committed
Setup pnpm
1 parent d5af731 commit dfd2797

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: npm ci
2828

29+
- name: Enable pnpm (for Smithery CLI fork)
30+
run: |
31+
corepack enable
32+
corepack prepare pnpm@10.27.0 --activate
33+
2934
- name: Use forked Smithery CLI (stdio prepack)
3035
run: npm install --no-save --no-package-lock @smithery/cli@github:cameroncooke/cli#stdio-prepack-hook
3136

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
rm -rf node_modules package-lock.json
4343
npm install --ignore-scripts
4444
45+
- name: Enable pnpm (for Smithery CLI fork)
46+
run: |
47+
corepack enable
48+
corepack prepare pnpm@10.27.0 --activate
49+
4550
- name: Use forked Smithery CLI (stdio prepack)
4651
run: npm install --no-save --no-package-lock @smithery/cli@github:cameroncooke/cli#stdio-prepack-hook
4752

0 commit comments

Comments
 (0)