File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
scripts/storage-emulator-integration Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 8989 distribution : temurin
9090
9191 - uses : actions/checkout@v4
92+ - name : Setup Chrome
93+ uses :
browser-actions/[email protected] 94+ with :
95+ install-dependencies : true
96+ install-chromedriver : true
9297 - uses : actions/setup-node@v3
9398 with :
9499 node-version : ${{ matrix.node-version }}
@@ -146,7 +151,7 @@ jobs:
146151 integration :
147152 needs : unit
148153 if : contains(fromJSON('["push", "merge_group"]'), github.event_name)
149- runs-on : ubuntu-latest
154+ runs-on : ubuntu-22.04
150155
151156 env :
152157 FIREBASE_EMULATORS_PATH : ${{ github.workspace }}/emulator-cache
@@ -184,6 +189,11 @@ jobs:
184189 node-version : ${{ matrix.node-version }}
185190 cache : npm
186191 cache-dependency-path : npm-shrinkwrap.json
192+ - name : Setup Chrome
193+ uses :
browser-actions/[email protected] 194+ with :
195+ install-dependencies : true
196+ install-chromedriver : true
187197 - name : Cache firebase emulators
188198 uses : actions/cache@v3
189199 with :
Original file line number Diff line number Diff line change @@ -12,10 +12,19 @@ firebase setup:emulators:storage
1212
1313mocha scripts/storage-emulator-integration/internal/tests.ts
1414
15+ # Brief sleep between tests to make sure emulators shut down fully.
16+ sleep 5
17+
1518mocha scripts/storage-emulator-integration/rules/* .test.ts
1619
20+ sleep 5
21+
1722mocha scripts/storage-emulator-integration/import/tests.ts
1823
24+ sleep 5
25+
1926mocha scripts/storage-emulator-integration/multiple-targets/tests.ts
2027
28+ sleep 5
29+
2130mocha scripts/storage-emulator-integration/conformance/* .test.ts
You can’t perform that action at this time.
0 commit comments