Skip to content
Merged
Show file tree
Hide file tree
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
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

name: Continuous Integration

on:
pull_request:
push:
branches:
- main

jobs:
test:
name: Lint, Typecheck, Test & Build
runs-on: ubuntu-latest
timeout-minutes: 33

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Check forbidden tokens
run: pnpm check:tokens

- name: Type check
run: pnpm -r typecheck

- name: Run tests
run: pnpm test:run

- name: Build
run: pnpm build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cli/package.dev.json
# Build artifacts in src directories
server/src/**/*.js
server/src/**/*.js.map
server/src/**/*.d.ts
!server/src/**/*.d.ts
server/src/**/*.d.ts.map
tmp/

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@changesets/cli": "^2.30.0",
"cross-env": "^10.1.0",
"esbuild": "^0.27.3",
"jsdom": "^29.1.1",
"typescript": "^5.7.3",
"vitest": "^3.0.5"
},
Expand Down
Loading
Loading