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 67f6edc commit ad6e616Copy full SHA for ad6e616
.github/workflows/push.yml
@@ -30,6 +30,11 @@ jobs:
30
name: Test
31
runs-on: ubuntu-latest
32
needs: setup
33
+ env:
34
+ NODE_ENV: test
35
+ POSTGRES_PASSWORD: postgres
36
+ POSTGRES_DATABASE: postgres
37
+ POSTGRES_USER: postgres
38
services:
39
postgres:
40
image: postgres:10.8
@@ -60,12 +65,9 @@ jobs:
60
65
run: yarn install
61
66
- name: Lint
62
67
run: yarn lint
68
+ - name: Migrate
69
+ run: yarn typeorm migration:run
63
70
- name: Test
64
- env:
- NODE_ENV: test
- POSTGRES_PASSWORD: postgres
- POSTGRES_DATABASE: postgres
- POSTGRES_USER: postgres
71
run: yarn test
72
73
publish:
0 commit comments