Skip to content

Commit ee13e28

Browse files
committed
ci(*): added emulator support
1 parent 48088b8 commit ee13e28

File tree

3 files changed

+2210
-22
lines changed

3 files changed

+2210
-22
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@ jobs:
2525
version: latest
2626
- name: Install dependencies
2727
run: pnpm install
28-
- name: Run tests
29-
run: pnpm test
28+
- name: Start Firebase emulator and run tests
29+
run: |
30+
pnpm run emulators &
31+
sleep 15
32+
echo "Emulator started, running tests..."
33+
pnpm test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"release:all": "pnpm i && pnpm run release:core && pnpm run release:translations && pnpm run release:react && pnpm run release:styles && pnpm run release:angular"
3636
},
3737
"devDependencies": {
38+
"firebase-tools": "^13.0.0",
3839
"rimraf": "^6.0.1",
3940
"typescript": "^5.7.3",
4041
"vite": "^6.0.11",

0 commit comments

Comments
 (0)