From 5859798d82735ae86473785467d347c0594403be Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 25 Oct 2019 04:46:24 +0900 Subject: [PATCH] fix --- .github/workflows/nodejs.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f25655cd24..0724d895fa 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -14,6 +14,18 @@ jobs: matrix: node-version: [10.x, 12.x] + services: + postgres: + image: postgres:10-alpine + ports: + - 5432:5432 + env: + POSTGRES_DB: test-misskey + redis: + image: redis:alpine + ports: + - 6379:6379 + steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} @@ -28,14 +40,3 @@ jobs: run: yarn build - name: 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