@@ -43,9 +43,7 @@ if (process.env.CI) {
4343 }
4444
4545 const files = stdout . split ( "\n" ) ;
46-
4746 const dirs = files . map ( ( f ) => f . split ( "/" ) . at ( 0 ) ) ;
48-
4947 examples = [ ...new Set ( dirs ) ] . filter ( ( d ) => ! TO_IGNORE . has ( d ) ) ;
5048} else {
5149 const entries = await fse . readdir ( process . cwd ( ) , { withFileTypes : true } ) ;
@@ -60,10 +58,6 @@ const list = new Intl.ListFormat("en", { style: "long", type: "conjunction" });
6058
6159console . log ( `Testing changed examples: ${ list . format ( examples ) } ` ) ;
6260
63- if ( examples . length === 0 ) {
64- return ;
65- }
66-
6761for ( const example of examples ) {
6862 const pkgJson = await PackageJson . load ( example ) ;
6963
@@ -143,7 +137,6 @@ for (const example of examples) {
143137}
144138
145139installQueue . start ( ) ;
146- installQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
147140
148141installQueue . on ( "empty" , ( ) => {
149142 console . log ( `installQueue is complete, moving on to buildQueue` ) ;
@@ -155,6 +148,6 @@ buildQueue.on("empty", () => {
155148 return typecheckQueue . start ( ) ;
156149} ) ;
157150
151+ installQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
158152buildQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
159-
160153typecheckQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
0 commit comments