yup
Some checks failed
CI / Lint & Typecheck (push) Failing after 2m19s
CI / Test (routes) (push) Failing after 9s
CI / Test (security) (push) Failing after 10s
CI / Test (services) (push) Failing after 10s
CI / Test (unit) (push) Failing after 9s
CI / Test (integration) (push) Failing after 9s
CI / Test Coverage (push) Failing after 39s
CI / Build (push) Has been skipped

This commit is contained in:
2025-12-17 12:58:31 +13:00
parent e015bc43a5
commit 67a639d3bc
3 changed files with 286 additions and 286 deletions

42
.github/workflows/ci.yml.chatgpt vendored Normal file
View File

@@ -0,0 +1,42 @@
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run lint (optional)
run: pnpm lint
- name: Run tests
run: pnpm test
docker-build:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker images
run: docker compose -f docker/docker-compose.yml build