Skip to content

Commit a51d007

Browse files
committed
chore: update ci
1 parent 712d8f8 commit a51d007

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ jobs:
132132
- name: Run services
133133
run: docker compose up -d
134134

135+
- name: Verify MariaDB/Postgres is ready
136+
run: |
137+
until docker exec $(docker ps -qf "name=nelsonlaidev-postgres") pg_isready; do
138+
echo "Waiting for database..."
139+
sleep 2
140+
done
141+
135142
- name: Migrate database
136143
run: bun db:migrate
137144

0 commit comments

Comments
 (0)