mirror of
https://github.com/Twigpine/node-explorer.git
synced 2026-11-11 23:40:17 -10:00
- 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]>
30 lines
439 B
YAML
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
|