Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
test-server:
name: Test Server
runs-on: ubuntu-latest
needs: [typecheck-server]
steps:
- uses: actions/checkout@v6

Expand All @@ -118,4 +119,30 @@ jobs:

- name: Run unit tests
run: npm test
working-directory: server

build-server:
name: Build Server
runs-on: ubuntu-latest
needs: [typecheck-server, test-server]
steps:
- uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
cache: "npm"
cache-dependency-path: server/package-lock.json

- name: Install dependencies
run: npm ci
working-directory: server

- name: Generate Prisma client
run: npx prisma generate --schema=src/database/prisma/schema
working-directory: server

- name: Build server
run: npm run build
working-directory: server
Loading