aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-31 19:35:17 +0900
committernsfisis <nsfisis@gmail.com>2025-12-31 19:35:17 +0900
commitf211ebcfac0a21e264b67c1226509896a11ed5ca (patch)
tree502c10bbebe041c439a54b3fd08a5b90b5be4429 /.github/workflows/ci.yaml
parent594482a280279149cbf5cb8b8d086961e65b0fb0 (diff)
downloadkioku-f211ebcfac0a21e264b67c1226509896a11ed5ca.tar.gz
kioku-f211ebcfac0a21e264b67c1226509896a11ed5ca.tar.zst
kioku-f211ebcfac0a21e264b67c1226509896a11ed5ca.zip
refactor(db): replace DATABASE_URL with individual POSTGRES_* env vars
Eliminates duplicate configuration by building the connection URL from POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB, POSTGRES_HOST, and POSTGRES_PORT instead of requiring a separate DATABASE_URL. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f83116e..86db887 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -34,7 +34,7 @@ jobs:
run: pnpm typecheck
- name: Test
- run: DATABASE_URL="fake" pnpm test
+ run: POSTGRES_USER=test POSTGRES_PASSWORD=test POSTGRES_DB=test POSTGRES_HOST=localhost POSTGRES_PORT=5432 pnpm test
- name: Build
run: pnpm build