mirror of
https://github.com/openprose/prose.git
synced 2026-09-19 05:55:05 +08:00
f9c84b834e
* Fix CLI workflows for the pnpm-workspace consolidation The Reactor consolidation moved the CLI into the pnpm workspace, but the npm-to-pnpm workflow conversion was incomplete and broke CI on main. - Add the missing pnpm/action-setup step before every setup-node that sets cache: pnpm (cli-real-harness-smoke, cli-release-check, release). Without pnpm on PATH, setup-node fails: "Unable to locate executable file: pnpm". - Rework the npm-package-smoke job to pack with pnpm. npm pack does not rewrite the workspace: protocol dependency on @openprose/reactor; pnpm pack does. The install smoke now resolves that dependency from a locally packed reactor tarball so it does not depend on the registry. * Build the Reactor dependency before the CLI compiles in CI After the workspace consolidation the CLI typechecks and builds against @openprose/reactor, which must be built first. - Add a "Build workspace" step before every CLI typecheck/build step (node-checks, release-tarball-smoke, cli-real-harness-smoke, and the release workflow's verify-cli and release-assets jobs). - Drop the deleted tools/cli/package-lock.json entries from .version-bump.json so bump-version.sh --check no longer fails. * Drop Node 18 from the CLI check matrix The CLI now requires Node 20+ (engines.node >=20.0.0, enforced by install.sh). The Node 18 matrix leg fails install.sh's version gate.