mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 10:16:49 +00:00
The maintainability gate (process.exit count + sync FS API count) was a raw grep counter that provided no actionable signal for a CLI tool. It blocked the v7.53.0 stable release because new features naturally increased the counts beyond the baseline. Removed: - scripts/maintainability-baseline.js - scripts/maintainability-check.js - docs/metrics/maintainability-baseline.json - All maintainability:* npm scripts - Gate references from release, dev-release, and CI workflows Quality gates retained: typecheck, eslint, prettier, full test suite.
35 lines
679 B
YAML
35 lines
679 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main, dev]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: '1.3.9'
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
bun install --frozen-lockfile
|
|
cd ui && bun install --frozen-lockfile
|
|
|
|
- name: Build package
|
|
run: bun run build:all
|
|
|
|
- name: Validate (typecheck + lint + format + tests)
|
|
run: bun run validate
|