Skip to content

Commit 0c6873f

Browse files
committed
chore: migrate from npm to pnpm (Phase 1)
- Enable corepack with packageManager field (pnpm@10.27.0) - Generate pnpm-lock.yaml from package-lock.json - Add explicit zod dependency (phantom dep exposed by pnpm strict mode) - Add MCPServer type annotation to fix TS2742 inference error - Update CI workflow to use pnpm/action-setup
1 parent fc8eb35 commit 0c6873f

File tree

5 files changed

+2938
-4528
lines changed

5 files changed

+2938
-4528
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
15+
- uses: pnpm/action-setup@v2
16+
with:
17+
version: 10
18+
1419
- uses: actions/setup-node@v4
1520
with:
1621
node-version: '20'
17-
cache: 'npm'
18-
- run: npm ci
19-
- run: npm run build
20-
- run: npm test
22+
cache: 'pnpm'
23+
24+
- run: pnpm install --frozen-lockfile
25+
- run: pnpm build
26+
- run: pnpm test

0 commit comments

Comments
 (0)