fix(ci): install CLI dependencies separately in publish workflow

The CLI package is not part of a pnpm workspace, so its dependencies
need to be installed from within packages/cli/ directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ty
2026-03-22 15:46:28 +08:00
parent 55c5418979
commit cb266a03dd
+2 -2
View File
@@ -27,8 +27,8 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install CLI dependencies
run: cd packages/cli && pnpm install
- name: Build
run: cd packages/cli && bun build ./src/index.ts --outdir ./dist --target=node