Skip to content

Commit

Permalink
cache firebase emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu Xinming committed May 29, 2024
1 parent 254fe33 commit 5018883
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
node-version: 20
cache: "yarn"

- name: Cache Firebase Emulator
uses: actions/cache@v4
with:
path: ~/.cache/firebase/emulators
key: ${{ runner.os }}-firebase-emulator-${{ hashFiles('**/firebase.json') }}
restore-keys: |
${{ runner.os }}-firebase-emulator-
- name: Install Firebase Emulator Suite
run: npm install -g firebase-tools

Expand Down

0 comments on commit 5018883

Please sign in to comment.