Files
Claude f7c2b863f3
All checks were successful
CI / test (push) Successful in 17s
ci: add push/PR workflow (typecheck, unit tests, build)
Co-Authored-By: Claude
2026-06-19 02:41:35 +00:00

35 lines
744 B
YAML

name: CI
# Lightweight continuous integration: typecheck, unit tests, and build on
# every push and pull request. (The Obsidian/Playwright E2E smoke is not run
# here — it needs a real Obsidian binary + virtual display; run it locally
# via `npm run e2e`.)
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npx tsc -noEmit -skipLibCheck
- name: Unit tests
run: npm test
- name: Build
run: npm run build