feat/bun-transition #21

Merged
david merged 24 commits from feat/bun-transition into main 2026-04-02 04:51:20 +00:00
Showing only changes of commit 1503420519 - Show all commits
+19 -13
View File
@@ -33,9 +33,23 @@ jobs:
container:
image: docker.notsosm.art/euchre-camp/ci-base:latest
options: --user root
services:
postgres:
image: postgres:15-alpine
env:
DATABASE_PROVIDER: sqlite
DATABASE_URL: file:./prisma/ci.db
POSTGRES_DB: euchre_camp_ci
POSTGRES_USER: euchre_camp_dev
POSTGRES_PASSWORD: euchreCampDev
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
env:
DATABASE_PROVIDER: postgresql
DATABASE_URL: postgresql://euchre_camp_dev:euchreCampDev@localhost:5432/euchre_camp_ci
BETTER_AUTH_SECRET: test-secret-key-for-ci-only
steps:
@@ -48,21 +62,13 @@ jobs:
- name: Generate Prisma client
run: bun x prisma generate
env:
DATABASE_URL: postgresql://user:pass@localhost:5432/dummy
DATABASE_URL: postgresql://euchre_camp_dev:euchreCampDev@localhost:5432/euchre_camp_ci
- name: Setup SQLite database
run: |
# Create SQLite database file
mkdir -p prisma
bun x prisma migrate deploy
- name: Setup PostgreSQL database
run: bun x prisma migrate deploy
- name: Run acceptance tests
run: bun run test:acceptance
env:
DATABASE_PROVIDER: sqlite
DATABASE_URL: file:./prisma/ci.db
BETTER_AUTH_SECRET: test-secret-key-for-ci-only
HOME: /root
analyze-bump-type:
runs-on: ubuntu-latest