Files
Kevin CodexandClaude Fable 5 d77cd9a846 Make repository open-source ready (#3)
- Add Vitest unit test suite (60 tests) covering the pure-logic modules
  in src/lib/: fuzzy matcher, line-range permalinks, language detection,
  API helpers/classification, and TOC extraction
- Rewrite README with features, quick start, API docs, project structure,
  and testing guide
- Add MIT LICENSE, CONTRIBUTING.md, and a PR template
- Add GitHub Actions CI (lint, test, build)
- Rename package to gitlawb-node-explorer with proper metadata

Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-03 07:36:52 +08:00

30 lines
439 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run build