File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ name : React Integration Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ integration-test :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node-version : [22.x]
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+
25+ - name : Setup Java for Firebase Emulator
26+ uses : actions/setup-java@v4
27+ with :
28+ distribution : " temurin"
29+ java-version : " 17"
30+
31+ - name : Install pnpm
32+ uses : pnpm/action-setup@v2
33+ with :
34+ version : 8
35+
36+ - name : Install dependencies
37+ run : pnpm install
38+
39+ - name : Install Firebase Tools
40+ run : npm install -g firebase-tools
41+
42+ - name : Create Firebase config
43+ run : |
44+ cat > firebase.json << EOF
45+ {
46+ "emulators": {
47+ "auth": {
48+ "port": 9099
49+ },
50+ "ui": {
51+ "enabled": false
52+ }
53+ }
54+ }
55+ EOF
56+
57+ - name : Start Firebase Emulator and Run Integration Tests
58+ run : |
59+ firebase emulators:start &
60+ sleep 10
61+ pnpm --filter @firebase-ui/react test:integration
You can’t perform that action at this time.
0 commit comments