File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,21 @@ if [ $((0 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
1010 COMMANDS_TO_RUN+=(' node ./scripts/prettier/index' )
1111 COMMANDS_TO_RUN+=(' node ./scripts/tasks/flow' )
1212 COMMANDS_TO_RUN+=(' node ./scripts/tasks/eslint' )
13- COMMANDS_TO_RUN+=(' yarn test --runInBand ' )
13+ COMMANDS_TO_RUN+=(' yarn test --maxWorkers=2 ' )
1414 COMMANDS_TO_RUN+=(' ./scripts/circleci/check_license.sh' )
1515 COMMANDS_TO_RUN+=(' ./scripts/circleci/check_modules.sh' )
1616 COMMANDS_TO_RUN+=(' ./scripts/circleci/test_print_warnings.sh' )
1717 COMMANDS_TO_RUN+=(' ./scripts/circleci/track_stats.sh' )
1818fi
1919
2020if [ $(( 1 % CIRCLE_NODE_TOTAL)) -eq " $CIRCLE_NODE_INDEX " ]; then
21- COMMANDS_TO_RUN+=(' yarn test-prod --runInBand ' )
21+ COMMANDS_TO_RUN+=(' yarn test-prod --maxWorkers=2 ' )
2222fi
2323
2424if [ $(( 2 % CIRCLE_NODE_TOTAL)) -eq " $CIRCLE_NODE_INDEX " ]; then
2525 COMMANDS_TO_RUN+=(' ./scripts/circleci/build.sh' )
26- COMMANDS_TO_RUN+=(' yarn test-build --runInBand ' )
27- COMMANDS_TO_RUN+=(' yarn test-build-prod --runInBand ' )
26+ COMMANDS_TO_RUN+=(' yarn test-build --maxWorkers=2 ' )
27+ COMMANDS_TO_RUN+=(' yarn test-build-prod --maxWorkers=2 ' )
2828 COMMANDS_TO_RUN+=(' ./scripts/circleci/upload_build.sh' )
2929fi
3030
You can’t perform that action at this time.
0 commit comments