fix ci
This commit is contained in:
3
.github/workflows/run-tests.yaml
vendored
3
.github/workflows/run-tests.yaml
vendored
@ -59,8 +59,9 @@ jobs:
|
|||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
- name: Database Migration
|
- name: Database Migration
|
||||||
run: |
|
run: |
|
||||||
|
psql -h localhost -p ${{ job.services.postgres.ports[5432] }} -U postgres -c "CREATE USER app_user WITH ENCRYPTED PASSWORD 'app_pass';"
|
||||||
yarn workspace @omnivore/db migrate
|
yarn workspace @omnivore/db migrate
|
||||||
psql -h localhost -p ${{ job.services.postgres.ports[5432] }} -U postgres -c "CREATE USER app_user WITH ENCRYPTED PASSWORD 'app_pass';GRANT omnivore_user to app_user;"
|
psql -h localhost -p ${{ job.services.postgres.ports[5432] }} -U postgres -c "GRANT omnivore_user to app_user;"
|
||||||
env:
|
env:
|
||||||
PG_HOST: localhost
|
PG_HOST: localhost
|
||||||
PG_PORT: ${{ job.services.postgres.ports[5432] }}
|
PG_PORT: ${{ job.services.postgres.ports[5432] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user