~/talk

How to set up CI using the Firebase Emulator Suite

Talkat Firebase Summit 2020 · 2020-10-27..10-28· [testing]
links:none on file
slides:none on file

Shows how to run the Firebase Emulator Suite inside GitHub Actions so unit tests for Firestore security rules and integration tests for Cloud Functions run on every push. Uses firebase emulators:exec npm test to spin up Firestore and Functions emulators with the right env vars, notes .firebaserc is often gitignored so CI needs --project=example (or your real project ID) to avoid “no active project”, and demonstrates fixing the YAML so tests run and pass.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36CI in action
  3. 3:48Unit testing security rules
  4. 4:30Integration testing Cloud Functions
  5. 6:34Running tests locally
  6. 7:33Why CI?
  7. 9:10Configuring GitHub workflow
  8. 12:33Inspecting GitHub Actions
  9. 13:11Specifying project ID
  10. 15:21Build with confidence
  11. 16:22Recap and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.