diff --git a/scripts/circle-test-frontend.sh b/scripts/circle-test-frontend.sh index 3af199d3ff2..68c044b395c 100755 --- a/scripts/circle-test-frontend.sh +++ b/scripts/circle-test-frontend.sh @@ -11,3 +11,4 @@ function exit_if_fail { } exit_if_fail npm run test +exit_if_fail npm run build diff --git a/scripts/grunt/options/exec.js b/scripts/grunt/options/exec.js index 2634f2b546b..92e530cd5fd 100644 --- a/scripts/grunt/options/exec.js +++ b/scripts/grunt/options/exec.js @@ -3,7 +3,7 @@ module.exports = function(config, grunt) { return { tslint: 'node ./node_modules/tslint/lib/tslintCli.js -c tslint.json --project ./tsconfig.json', - jest: 'node ./node_modules/jest-cli/bin/jest.js', + jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2', webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js', }; };