mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 21:03:46 +00:00
Configure lefthook formatter checks (#231)
* Add lefthook formatter checks * Fix SDK mode hydration * Stabilize SDK mode integration test
This commit is contained in:
parent
0471214d65
commit
d2346bafb3
282 changed files with 5840 additions and 8399 deletions
|
|
@ -5,12 +5,7 @@ import { setupComputeSdkSandboxAgent } from "../src/computesdk.ts";
|
|||
const hasModal = Boolean(process.env.MODAL_TOKEN_ID && process.env.MODAL_TOKEN_SECRET);
|
||||
const hasVercel = Boolean(process.env.VERCEL_TOKEN || process.env.VERCEL_OIDC_TOKEN);
|
||||
const hasProviderKey = Boolean(
|
||||
process.env.BLAXEL_API_KEY ||
|
||||
process.env.CSB_API_KEY ||
|
||||
process.env.DAYTONA_API_KEY ||
|
||||
process.env.E2B_API_KEY ||
|
||||
hasModal ||
|
||||
hasVercel
|
||||
process.env.BLAXEL_API_KEY || process.env.CSB_API_KEY || process.env.DAYTONA_API_KEY || process.env.E2B_API_KEY || hasModal || hasVercel,
|
||||
);
|
||||
|
||||
const shouldRun = Boolean(process.env.COMPUTESDK_API_KEY) && hasProviderKey;
|
||||
|
|
@ -34,6 +29,6 @@ describe("computesdk example", () => {
|
|||
await cleanup();
|
||||
}
|
||||
},
|
||||
timeoutMs
|
||||
timeoutMs,
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue