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