forked from invertase/firebase-emulator-action
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 950 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Test Firebase Emulator Action
on:
push:
branches:
- test
pull_request:
branches:
- test
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the current repository
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
# Run your Firebase Emulator Action.
- name: Run Firebase Emulator Action
uses: ./ # Uses the current repository as an action
with:
firebase-tools-version: 'latest'
emulators: 'auth ,firestore ,functions ,storage ,database '
project-id: 'test-project'
max-retries: '1'
max-checks: '60'
wait-time: '1'
check-port: '9099'