Skip to content

Commit 41736a3

Browse files
committed
test(e2e): cache firestore emulator
1 parent 3c443e9 commit 41736a3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/tests_e2e.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
max_attempts: 3
5151
command: npm i -g firebase-tools
5252

53+
- name: Cache Firestore Emulator
54+
uses: actions/cache@v2
55+
with:
56+
path: ~/.cache/firebase/emulators
57+
key: firebase-emulators-v1
58+
5359
- name: Start Firestore Emulator
5460
run: yarn tests:emulator:start-ci
5561

@@ -229,6 +235,12 @@ jobs:
229235
max_attempts: 3
230236
command: npm i -g firebase-tools
231237

238+
- name: Cache Firestore Emulator
239+
uses: actions/cache@v2
240+
with:
241+
path: ~/.cache/firebase/emulators
242+
key: firebase-emulators-v1
243+
232244
- name: Start Firestore Emulator
233245
run: yarn tests:emulator:start-ci
234246

0 commit comments

Comments
 (0)