Skip to content

fix: remove hardcoded localhost #3

fix: remove hardcoded localhost

fix: remove hardcoded localhost #3

Workflow file for this run

name: Trimly CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/trimly?schema=public
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Generate Prisma client
run: bun run db:generate
- name: Run lint
run: bun run lint
- name: Run production build
run: bun run build