Skip to content

Commit

Permalink
Update(workflow): add pnpm setup & update emulators start command
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldkri committed Sep 10, 2024
1 parent e199957 commit bd560e3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ jobs:
run: pnpm install

- name: Install Firebase CLI
run: pnpm add -g firebase-tools
run: pnpm setup && pnpm add -g firebase-tools

- name: Start Firestore emulator
run: |
firebase emulators:start --only firestore --project demo --import=./emulator_data --export-on-exit=./emulator_data &
env:
FIRESTORE_EMULATOR_HOST: 'localhost:8080'
run: pnpm run emulators:start

- name: Wait for Firestore emulator to start
run: sleep 5
Expand Down

0 comments on commit bd560e3

Please sign in to comment.