Skip to content

Commit 432b228

Browse files
committed
test(ci): make sure TMPDIR exists before referencing it
1 parent c0dca8b commit 432b228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tests:jest-coverage": "jest --coverage",
2323
"tests:packager:chrome": "cd tests && yarn react-native start --reset-cache",
2424
"tests:packager:jet": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" yarn react-native start",
25-
"tests:packager:jet-ci": "cd tests && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" yarn react-native start",
25+
"tests:packager:jet-ci": "cd tests && (mkdir $HOME/.metro || true) && cross-env TMPDIR=$HOME/.metro REACT_DEBUGGER=\"echo nope\" yarn react-native start",
2626
"tests:packager:jet-reset-cache": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node yarn react-native start --reset-cache",
2727
"tests:emulator:prepare": "cd .github/workflows/scripts/functions && yarn && yarn build",
2828
"tests:emulator:start": "yarn tests:emulator:prepare && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh --no-daemon",

0 commit comments

Comments
 (0)