Skip to content

Commit 115a8b1

Browse files
fix
1 parent 7077049 commit 115a8b1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/push.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ jobs:
3030
name: Test
3131
runs-on: ubuntu-latest
3232
needs: setup
33-
env:
34-
NODE_ENV: test
35-
POSTGRES_PASSWORD: postgres
36-
POSTGRES_HOST: postgres
37-
POSTGRES_PORT: 5432
38-
POSTGRES_DATABASE: postgres
39-
POSTGRES_USER: postgres
4033
services:
4134
postgres:
4235
image: postgres:10.8
@@ -66,6 +59,13 @@ jobs:
6659
if: steps.yarn-cache.outputs.cache-hit != 'true'
6760
run: yarn install
6861
- run: yarn run sequelize db:create
62+
env:
63+
NODE_ENV: test
64+
POSTGRES_PASSWORD: postgres
65+
POSTGRES_HOST: postgres
66+
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
67+
POSTGRES_DATABASE: postgres
68+
POSTGRES_USER: postgres
6969
- run: yarn run sequelize db:migrate
7070
- name: Lint
7171
run: yarn lint

0 commit comments

Comments
 (0)