Skip to content

Commit 9f830ef

Browse files
committed
fix: skip inspector build for SDK generation
1 parent 9aeb8f5 commit 9f830ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/release/build-artifacts.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ async function buildAndUploadTypescriptSdk(opts: ReleaseOpts) {
1111
console.log(`==> Building TypeScript SDK`);
1212

1313
// Build TypeScript SDK
14+
// SANDBOX_AGENT_SKIP_INSPECTOR=1 skips building inspector frontend for openapi-gen
1415
await $({
1516
stdio: "inherit",
1617
cwd: opts.root,
18+
env: { ...process.env, SANDBOX_AGENT_SKIP_INSPECTOR: "1" },
1719
})`pnpm --filter sandbox-agent build`;
1820

1921
console.log(`✅ TypeScript SDK built successfully`);

0 commit comments

Comments
 (0)