test実行時にDBとかredisとか動かすように
This commit is contained in:
11
.github/workflows/nodejs.yml
vendored
11
.github/workflows/nodejs.yml
vendored
@@ -28,3 +28,14 @@ jobs:
|
|||||||
run: yarn build
|
run: yarn build
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn test
|
run: yarn test
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:10-alpine
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
env:
|
||||||
|
POSTGRES_DB: test-misskey
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
Reference in New Issue
Block a user