Skip to content

Commit cff4944

Browse files
committed
chore(ci): do not cargo check in ci
1 parent 1044cb0 commit cff4944

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

scripts/release/main.ts

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -208,24 +208,13 @@ async function runBuildAndChecks(opts: ReleaseOpts, { ci }: BuildAndCheckOpts) {
208208
}
209209

210210
// Cargo check
211-
console.log("Running cargo check...");
212-
try {
213-
await $({ stdio: "inherit", cwd: opts.root })`cargo check`;
214-
console.log("✅ Cargo check passed");
215-
} catch (err) {
216-
console.error("❌ Cargo check failed");
217-
throw err;
218-
}
219-
220-
// Build website (local only)
221211
if (!ci) {
222-
console.log("Building website...");
212+
console.log("Running cargo check...");
223213
try {
224-
const websiteDir = path.join(opts.root, "website");
225-
await $({ stdio: "inherit", cwd: websiteDir })`pnpm build`;
226-
console.log("✅ Website build passed");
214+
await $({ stdio: "inherit", cwd: opts.root })`cargo check`;
215+
console.log("✅ Cargo check passed");
227216
} catch (err) {
228-
console.error("❌ Website build failed");
217+
console.error("❌ Cargo check failed");
229218
throw err;
230219
}
231220
}

0 commit comments

Comments
 (0)