File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments