We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7077049 commit 115a8b1Copy full SHA for 115a8b1
.github/workflows/push.yml
@@ -30,13 +30,6 @@ jobs:
30
name: Test
31
runs-on: ubuntu-latest
32
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
40
services:
41
postgres:
42
image: postgres:10.8
@@ -66,6 +59,13 @@ jobs:
66
59
if: steps.yarn-cache.outputs.cache-hit != 'true'
67
60
run: yarn install
68
61
- run: yarn run sequelize db:create
62
+ env:
63
+ NODE_ENV: test
64
+ POSTGRES_PASSWORD: postgres
65
+ POSTGRES_HOST: postgres
+ POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
+ POSTGRES_DATABASE: postgres
+ POSTGRES_USER: postgres
69
- run: yarn run sequelize db:migrate
70
- name: Lint
71
run: yarn lint
0 commit comments