mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-17 04:02:25 +00:00
fix: use pnpm typecheck instead of check-types in release script
This commit is contained in:
parent
b49776145b
commit
c627ff22f1
1 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ async function runLocalChecks(opts: ReleaseOpts) {
|
||||||
// TypeScript type check
|
// TypeScript type check
|
||||||
console.log("Running TypeScript type check...");
|
console.log("Running TypeScript type check...");
|
||||||
try {
|
try {
|
||||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm check-types`;
|
await $({ stdio: "inherit", cwd: opts.root })`pnpm typecheck`;
|
||||||
console.log("✅ TypeScript type check passed");
|
console.log("✅ TypeScript type check passed");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("❌ TypeScript type check failed");
|
console.error("❌ TypeScript type check failed");
|
||||||
|
|
@ -216,7 +216,7 @@ async function runCiChecks(opts: ReleaseOpts) {
|
||||||
// TypeScript type check
|
// TypeScript type check
|
||||||
console.log("Running TypeScript type check...");
|
console.log("Running TypeScript type check...");
|
||||||
try {
|
try {
|
||||||
await $({ stdio: "inherit", cwd: opts.root })`pnpm check-types`;
|
await $({ stdio: "inherit", cwd: opts.root })`pnpm typecheck`;
|
||||||
console.log("✅ TypeScript type check passed");
|
console.log("✅ TypeScript type check passed");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("❌ TypeScript type check failed");
|
console.error("❌ TypeScript type check failed");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue