set lock_timeout while running migrations in github action too

This commit is contained in:
Hongbo Wu
2024-06-19 11:55:49 +08:00
parent 5f11726bd5
commit ae4e7b4b97

View File

@ -77,6 +77,7 @@ jobs:
PG_PASSWORD: postgres
PG_DB: omnivore_test
PGPASSWORD: postgres # This is required for the psql command to work without a password prompt
PG_EXTRA_OPTIONS: '-c lock_timeout=2000'
- name: TypeScript Build and Lint
run: |
source ~/.nvm/nvm.sh