Skip to content

Commit b04523b

Browse files
author
AgentSIM
committed
ci: add GitHub Actions test + typecheck workflow
Runs vitest and tsc --noEmit on Node 20 on push to main and PRs. Includes package-lock.json for deterministic npm ci installs.
1 parent d67db71 commit b04523b

2 files changed

Lines changed: 1650 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
name: Tests + Typecheck (Node 20)
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: "20"
22+
cache: npm
23+
24+
- run: npm ci
25+
26+
- run: npm run typecheck
27+
28+
- run: npm test

0 commit comments

Comments
 (0)