fix: run CI on host runner to fix service container networking

This commit is contained in:
Ryan Moon
2026-04-01 21:00:15 -05:00
parent 05f926c0dc
commit 4c971f90eb

View File

@@ -10,11 +10,6 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
container:
image: registry.lunarfront.tech/ryan/ci-runner:latest
credentials:
username: ryan
password: ${{ secrets.REGISTRY_TOKEN }}
services:
postgres:
@@ -38,8 +33,8 @@ jobs:
--health-retries 5
env:
DATABASE_URL: postgresql://lunarfront:lunarfront@postgres:5432/lunarfront_test
REDIS_URL: redis://valkey:6379
DATABASE_URL: postgresql://lunarfront:lunarfront@localhost:5432/lunarfront_test
REDIS_URL: redis://localhost:6379
JWT_SECRET: ci-secret
NODE_ENV: test
@@ -47,6 +42,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo "$HOME/.bun/bin" >> $GITHUB_PATH
- name: Install dependencies
run: bun install --frozen-lockfile