File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|we
94
94
; mock/ignore style files
95
95
module.name_mapper='.*\(.scss\)' -> 'empty/object'
96
96
97
+ server.max_workers=4
98
+
97
99
suppress_type=$FlowIssue
98
100
suppress_type=$FlowFixMe
99
101
suppress_type=$FlowFixMeProps
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ if [[ -z "${CHECK_CORRECTNESS}" ]] && [[ -z "${CHECK_TESTS}" ]] ; then
14
14
fi
15
15
16
16
if [ " $CHECK_CORRECTNESS " = true ] ; then
17
- npm run flow || pFail
18
- npm run lint || pFail
17
+ yarn run flow || pFail
18
+ yarn run lint || pFail
19
19
fi
20
20
21
21
if [ " $GUTENBERG_AS_PARENT " = true ] ; then
27
27
if [ " $CHECK_TESTS " = true ] ; then
28
28
# we'll run the tests twich (once for each platform) if the platform env var is not set
29
29
if [[ -z " ${TEST_RN_PLATFORM} " ]] ; then
30
- TEST_RN_PLATFORM=android npm run ${TEST_SCRIPT_NAME} || pFail
31
- TEST_RN_PLATFORM=ios npm run ${TEST_SCRIPT_NAME} || pFail
30
+ TEST_RN_PLATFORM=android yarn run ${TEST_SCRIPT_NAME} --maxWorkers=4 || pFail
31
+ TEST_RN_PLATFORM=ios yarn run ${TEST_SCRIPT_NAME} --maxWorkers=4 || pFail
32
32
else
33
- npm run ${TEST_SCRIPT_NAME} || pFail
33
+ yarn run ${TEST_SCRIPT_NAME} --maxWorkers=4 || pFail
34
34
fi
35
35
fi
You can’t perform that action at this time.
0 commit comments