Skip to content

Commit 3393689

Browse files
committed
test: use supabase/postgres:14.1.0
1 parent d68ff8a commit 3393689

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"pkg": "run-s clean build:server && pkg --out-path bin .pkg.config.json",
2626
"test": "run-s db:clean db:run test:run db:clean",
2727
"db:clean": "cd test/db && docker-compose down",
28-
"db:run": "cd test/db && docker-compose up --detach && sleep 5",
28+
"db:run": "cd test/db && docker-compose up --detach",
2929
"test:run": "jest --runInBand"
3030
},
3131
"engines": {

test/db/docker-compose.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
services:
22
db:
3-
image: postgres:13
3+
image: supabase/postgres:14.1.0
44
ports:
55
- 5432:5432
66
volumes:
77
- .:/docker-entrypoint-initdb.d
88
environment:
99
POSTGRES_PASSWORD: postgres
10+
command: postgres -c config_file=/etc/postgresql/postgresql.conf

0 commit comments

Comments
 (0)