File tree 2 files changed +20
-1
lines changed
scripts/storage-emulator-integration
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 89
89
distribution : temurin
90
90
91
91
- uses : actions/checkout@v4
92
+ - name : Setup Chrome
93
+ uses : browser-actions/setup-chrome@v1.7.2
94
+ with :
95
+ install-dependencies : true
96
+ install-chromedriver : true
92
97
- uses : actions/setup-node@v3
93
98
with :
94
99
node-version : ${{ matrix.node-version }}
@@ -146,7 +151,7 @@ jobs:
146
151
integration :
147
152
needs : unit
148
153
if : contains(fromJSON('["push", "merge_group"]'), github.event_name)
149
- runs-on : ubuntu-latest
154
+ runs-on : ubuntu-22.04
150
155
151
156
env :
152
157
FIREBASE_EMULATORS_PATH : ${{ github.workspace }}/emulator-cache
@@ -184,6 +189,11 @@ jobs:
184
189
node-version : ${{ matrix.node-version }}
185
190
cache : npm
186
191
cache-dependency-path : npm-shrinkwrap.json
192
+ - name : Setup Chrome
193
+ uses : browser-actions/setup-chrome@v1.7.2
194
+ with :
195
+ install-dependencies : true
196
+ install-chromedriver : true
187
197
- name : Cache firebase emulators
188
198
uses : actions/cache@v3
189
199
with :
Original file line number Diff line number Diff line change @@ -12,10 +12,19 @@ firebase setup:emulators:storage
12
12
13
13
mocha scripts/storage-emulator-integration/internal/tests.ts
14
14
15
+ # Brief sleep between tests to make sure emulators shut down fully.
16
+ sleep 5
17
+
15
18
mocha scripts/storage-emulator-integration/rules/* .test.ts
16
19
20
+ sleep 5
21
+
17
22
mocha scripts/storage-emulator-integration/import/tests.ts
18
23
24
+ sleep 5
25
+
19
26
mocha scripts/storage-emulator-integration/multiple-targets/tests.ts
20
27
28
+ sleep 5
29
+
21
30
mocha scripts/storage-emulator-integration/conformance/* .test.ts
You can’t perform that action at this time.
0 commit comments