@devries-cameron20 / composio Mirror · read-only / commits / 7dbf1259a
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 04:30 UTC

fix(cli): add pnpm install to release job and fail on cross-compile error

- Add missing `pnpm install --frozen-lockfile` to the release CI job so `generate-checksums.ts` resolves `catalog:` versions from the lockfile instead of Bun auto-installing `latest` from npm. - Replace `Effect.logInfo` with `Effect.fail` in `build-binary-cross.ts` so a failed `bun build` propagates a non-zero exit code instead of silently succeeding.

jkomyno committed Mar 4, 2026 at 12:03 UTC 7dbf1259ab03aaed6f1d9020eddab516d7de21ca
2 files changed +4 -1
.github/workflows/build-cli-binaries.yml
+3
@@ -103,6 +103,9 @@ jobs:
103 - name: Setup Node.js, pnpm, Bun
104 uses: ./.github/actions/setup-node-pnpm-bun
105
106 + - name: Install dependencies
107 + run: pnpm install --frozen-lockfile
108 +
109 - name: Download all artifacts
110 uses: actions/download-artifact@v6
111 with:
ts/packages/cli/scripts/build-binary-cross.ts
+1 -1
@@ -114,7 +114,7 @@ export function buildBinaryCross() {
114 process.exitCode = exitCode;
115
116 if (exitCode !== 0) {
117 - return yield* Effect.logInfo(`Failed to cross-compile binary for ${target}`);
117 + return yield* Effect.fail(new Error(`Failed to cross-compile binary for ${target}`));
118 }
119
120 yield* Console.log(`Binary cross-compiled: ${outfile}`);