mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-10-25 21:06:57 +09:00
fix(ci): #2120 — memory smoke uses pnpm (workspace: protocol unsupported by npm)
The memory-stats-legacy-db-smoke job hit `EUNSUPPORTEDPROTOCOL: Unsupported URL Type "workspace:"` in CI because `cd v3/@claude-flow/cli && npm install` ran against a package.json with workspace:* deps that only pnpm understands. Same pattern as the agent-execute smoke fix. Switch the job to pnpm/action-setup + `pnpm install` + `pnpm --filter @claude-flow/cli build`. The smoke logic is unchanged. Co-Authored-By: RuFlo <ruflo-bot@users.noreply.github.com>
This commit is contained in:
1 parent
69f79dfe6b
commit
2d2091fe76
1 file changed
+13
-3
@@ -1095,11 +1095,21 @@ jobs:
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Install root deps (for sql.js + cli imports)
|
||||
run: npm install --legacy-peer-deps --no-audit --no-fund --ignore-scripts
|
||||
- name: Setup pnpm (workspace-aware install)
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 8
|
||||
|
||||
- name: Install workspace deps (pnpm — handles `workspace:*` protocol)
|
||||
# `cd v3/@claude-flow/cli && npm install` errors with
|
||||
# `EUNSUPPORTEDPROTOCOL: Unsupported URL Type "workspace:"` because
|
||||
# npm doesn't understand the workspace protocol used in our
|
||||
# monorepo. pnpm does. Root install is sufficient — it populates
|
||||
# `v3/@claude-flow/cli/node_modules` via the workspace topology.
|
||||
run: pnpm install --frozen-lockfile=false --ignore-scripts
|
||||
|
||||
- name: Build CLI dist
|
||||
run: cd v3/@claude-flow/cli && npm install --legacy-peer-deps --no-audit --no-fund --ignore-scripts && npm run build
|
||||
run: pnpm --filter @claude-flow/cli build
|
||||
|
||||
- name: Run memory stats legacy-DB smoke
|
||||
run: node scripts/smoke-memory-stats-legacy-db.mjs
|
||||
|
||||
Reference in new issue
Block a user