Skip to content

Commit a27686f

Browse files
committedFeb 15, 2024
fix: add pg db as service instead
1 parent ba6a401 commit a27686f

File tree

5 files changed

+9
-172
lines changed

5 files changed

+9
-172
lines changed
 

Diff for: ‎.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres
1+
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/postgres

Diff for: ‎.github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
timeout-minutes: 10
1818
runs-on: ubuntu-latest
1919

20+
services:
21+
postgres:
22+
image: postgres:latest
23+
env:
24+
POSTGRES_PASSWORD: postgres
25+
ports:
26+
- 5432:5432
27+
2028
steps:
2129
- name: 🏗 Setup repository
2230
uses: actions/checkout@v3
@@ -28,14 +36,6 @@ jobs:
2836
with:
2937
github-token: ${{ secrets.GITHUB_TOKEN }}
3038

31-
- uses: supabase/setup-cli@v1
32-
with:
33-
version: latest
34-
35-
- name: 🐘 Start Postgres
36-
id: postgres
37-
run: supabase start -x gotrue,realtime,storage-api,imgproxy,kong,inbucket,pgadmin-schema-diff,migra,postgres-meta,studio,edge-runtime,logflare,vector,pgbouncer,pg_prove
38-
3939
- name: 📦 Build
4040
id: build
4141
run: cargo build

Diff for: ‎supabase/.gitignore

-4
This file was deleted.

Diff for: ‎supabase/config.toml

-159
This file was deleted.

Diff for: ‎supabase/seed.sql

Whitespace-only changes.

0 commit comments

Comments
 (0)