Skip to content

Commit ab109f5

Browse files
committed
Wait for emulator to start
1 parent eb56044 commit ab109f5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/actions/setup_test_action/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ runs:
2424
run: chmod +x gradlew
2525
- name: Install Firebase tools
2626
shell: bash
27-
run: npm install -g firebase-tools
27+
run: npm install -g firebase-tools wait-on
2828
- name: Start Firebase emulator
2929
shell: bash
30-
run: "firebase emulators:start --config=./test/firebase.json &"
30+
run: |
31+
firebase emulators:start --config=./test/firebase.json &
32+
wait-on http://localhost:9099
33+
wait-on http://localhost:8080
34+
wait-on http://localhost:9000
35+
wait-on http://localhost:9199

0 commit comments

Comments
 (0)