diff --git a/scripts/data-validate.js b/scripts/data-validate.js index 613969ea..e9554ebb 100644 --- a/scripts/data-validate.js +++ b/scripts/data-validate.js @@ -82,4 +82,7 @@ async function isWorkingUrl(url) { `Action failed with ${failingUrls.length} URL fetch failures, see logs` ); } + if (process.env.CI !== 'true') { + process.exit(failingUrls.length > 0 ? 1 : 0) + } })();