diff --git a/jenkins.js b/jenkins.js index 7601edb..0a0c545 100644 --- a/jenkins.js +++ b/jenkins.js @@ -16,7 +16,7 @@ child_process.execSync ('yarn lint', { stdio: 'inherit' }); if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.execSync ('yarn test', { stdio: 'inherit' }); if ( - typeof pkg.scripts !== 'undefined' + typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.compile === 'string' ) child_process.execSync ('yarn compile', { stdio: 'inherit' });