added test-with-emulator task
parent
7c02619791
commit
412bc1ef71
|
@ -15,5 +15,4 @@ jobs:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
- run: yarn install --frozen-lockfile
|
- run: yarn install --frozen-lockfile
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
- run: yarn start-firebase-emulator
|
- run: yarn test-with-emulator
|
||||||
- run: yarn test
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
|
||||||
|
"test-with-emulator": "firebase emulators:exec --project example-project12345 'jest'",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prerelease": "yarn build",
|
"prerelease": "yarn build",
|
||||||
|
|
Loading…
Reference in New Issue