Update cmd to run migrations
This commit is contained in:
1 parent
38bbe51bbf
commit
c5bfc07add
1 file changed
+3
-1
@@ -44,7 +44,9 @@ jobs:
|
|||||||
sudo chmod +x /usr/local/bin/dbmate
|
sudo chmod +x /usr/local/bin/dbmate
|
||||||
|
|
||||||
- name: Run Migrations against Test Database
|
- name: Run Migrations against Test Database
|
||||||
run: dbmate up
|
run: |
|
||||||
|
npm ci
|
||||||
|
npx dbmate up
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgres://test_user:test_password@localhost:5432/test_db?sslmode=disable"
|
DATABASE_URL: "postgres://test_user:test_password@localhost:5432/test_db?sslmode=disable"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user