mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 02:01:37 +00:00
fix: use correct typecheck script for SDK
This commit is contained in:
parent
e55388aabe
commit
e119167f7e
1 changed files with 10 additions and 10 deletions
|
|
@ -197,13 +197,13 @@ async function runLocalChecks(opts: ReleaseOpts) {
|
|||
throw err;
|
||||
}
|
||||
|
||||
// TypeScript type check
|
||||
console.log("Running TypeScript type check...");
|
||||
// TypeScript SDK type check
|
||||
console.log("Running TypeScript SDK type check...");
|
||||
try {
|
||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm check-types`;
|
||||
console.log("✅ TypeScript type check passed");
|
||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm --filter sandbox-agent run typecheck`;
|
||||
console.log("✅ TypeScript SDK type check passed");
|
||||
} catch (err) {
|
||||
console.error("❌ TypeScript type check failed");
|
||||
console.error("❌ TypeScript SDK type check failed");
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
|
@ -213,13 +213,13 @@ async function runLocalChecks(opts: ReleaseOpts) {
|
|||
async function runCiChecks(opts: ReleaseOpts) {
|
||||
console.log("Running CI checks...");
|
||||
|
||||
// TypeScript type check
|
||||
console.log("Running TypeScript type check...");
|
||||
// TypeScript SDK type check
|
||||
console.log("Running TypeScript SDK type check...");
|
||||
try {
|
||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm check-types`;
|
||||
console.log("✅ TypeScript type check passed");
|
||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm --filter sandbox-agent run typecheck`;
|
||||
console.log("✅ TypeScript SDK type check passed");
|
||||
} catch (err) {
|
||||
console.error("❌ TypeScript type check failed");
|
||||
console.error("❌ TypeScript SDK type check failed");
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue