Merge pull request #1 from honojs/fix/ci

fixed ci to start firebase emulator
pull/34/head
Kei Kamikawa 2022-07-28 15:10:41 +09:00 committed by GitHub
commit 9cf09fc0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -15,4 +15,4 @@ jobs:
node-version: 18.x
- run: yarn install --frozen-lockfile
- run: yarn build
- 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",
@ -32,6 +33,7 @@
"devDependencies": {
"@cloudflare/workers-types": "^3.14.1",
"@types/jest": "^28.1.4",
"firebase-tools": "^11.4.0",
"jest": "^28.1.2",
"jest-environment-miniflare": "^2.6.0",
"prettier": "^2.7.1",