File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 36
36
- run : yarn --frozen-lockfile
37
37
- run : yarn lint
38
38
- run : yarn audit:ci
39
+ - run : yarn test:tgz-check
39
40
- run : NODE_OPTIONS=--max_old_space_size=20480 yarn test:unit --forceExit --silent
40
41
all-jobs-pass :
41
42
name : All jobs pass
Original file line number Diff line number Diff line change 39
39
"test:e2e" : " yarn test:e2e:ios && yarn test:e2e:android" ,
40
40
"test:e2e:ios" : " detox build -c ios.sim.release && detox test -c ios.sim.release --record-videos failing" ,
41
41
"test:e2e:android" : " detox build -c android.emu.release && detox test -c android.emu.release --record-videos failing" ,
42
+ "test:tgz-check" : " ./scripts/tgz-check.sh" ,
42
43
"postinstall" : " ./scripts/postinstall.sh" ,
43
44
"sourcemaps:android" : " node_modules/.bin/react-native bundle --platform android --entry-file index.js --dev false --reset-cache --bundle-output /tmp/bundle.android.js --assets-dest /tmp/ --sourcemap-output sourcemaps/android/index.js.map" ,
44
45
"sourcemaps:ios" : " node_modules/.bin/react-native bundle --platform ios --entry-file index.js --dev false --reset-cache --bundle-output /tmp/bundle.ios.js --assets-dest /tmp/ --sourcemap-output sourcemaps/ios/index.js.map" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ if [[ $( ls | grep .tgz) ]]; then
3
+ echo " ✘ there is a tgz file! you'll want to delete this before you can merge"
4
+ exit 1
5
+ else
6
+ echo " ✔ no tgz file found"
7
+ exit 0
8
+ fi
You can’t perform that action at this time.
0 commit comments