Add TypeScript CI workflow template

This commit is contained in:
2026-03-14 16:47:50 -05:00
parent 0e5522861f
commit 03479e7f6f

32
workflows/ts-ci.yml Normal file
View File

@@ -0,0 +1,32 @@
# BlackRoad OS — Pave Tomorrow.
# TypeScript CI — build, test, typecheck
name: TypeScript CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- name: Type check
run: npx tsc --noEmit || true
- name: Lint
run: npx eslint . --max-warnings 0 || true
- name: Build
run: npm run build || true
- name: Test
run: npm test || true