added test-with-emulator task

pull/34/head
Kei Kamikawa 2022-07-28 15:09:05 +09:00
parent 7c02619791
commit 412bc1ef71
No known key found for this signature in database
GPG Key ID: 1A9F69C08C8C7A8E
2 changed files with 2 additions and 2 deletions

View File

@ -15,5 +15,4 @@ jobs:
node-version: 18.x
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn start-firebase-emulator
- run: yarn test
- run: yarn test-with-emulator

View File

@ -9,6 +9,7 @@
],
"scripts": {
"start-firebase-emulator": "firebase emulators:start --project example-project12345",
"test-with-emulator": "firebase emulators:exec --project example-project12345 'jest'",
"test": "jest",
"build": "tsc",
"prerelease": "yarn build",