Selaa lähdekoodia

Internal: Improved the visibility of errors in CI builds. Closes #8111.

Marek Lewandowski 5 vuotta sitten
vanhempi
commit
27bace8b64
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      scripts/continuous-integration-script.js

+ 4 - 0
scripts/continuous-integration-script.js

@@ -104,10 +104,14 @@ console.log( 'Done' );
 if ( Object.values( failedChecks ).some( checksSet => checksSet.size > 0 ) ) {
 	console.log( '\n---\n' );
 
+	console.log( `🔥 ${ RED }Errors were detected by the CI.${ NO_COLOR }\n\n` );
+
 	showFailedCheck( 'dependency', 'The following packages have dependencies that are not included in its package.json' );
 	showFailedCheck( 'unitTests', 'The following packages did not pass unit tests' );
 	showFailedCheck( 'codeCoverage', 'The following packages did not provide required code coverage' );
 
+	console.log( '\n---\n' );
+
 	process.exit( 1 ); // Exit code 1 will break the CI build.
 }