chore(repo): standardize cross-platform development

Make line endings deterministic across macOS, Windows, and Linux while preserving the native checkout format required by Windows launchers.

Pin the tested application runtime and Node type baseline, add a shared startup preflight, and keep independently published packages on their existing compatibility ranges.

Align local scripts, pull request validation, complete package builds, dependency metadata, and contributor documentation around the same Node and pnpm contract. The root test command now covers every tested workspace package while a focused Core command remains available for local iteration.
This commit is contained in:
DrSmoothl committed 2026-07-31 13:09:02 +08:00
1 parent 8dd986a565
commit 9544aa7761
33 files changed
+217 -185

No files matched your search

+13 -5
View File
@@ -4,9 +4,8 @@
# unnoticed — and did (protocol's oidb-service rejection path, plus an external
# contributor PR). This gates every PR on the whole suite.
#
# `pnpm -r --no-bail --if-present test` runs each package's `test` script
# (skipping packages without one); --no-bail means one failing package still
# reports the rest, and the run as a whole still fails if any package fails.
# The root validation commands are the same ones contributors run locally.
# Keep this workflow as the executable source of truth for pull requests.
name: CI
on:
@@ -33,14 +32,23 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: '22'
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type check all packages
run: pnpm typecheck
- name: Lint managed source files
run: pnpm lint
- name: Run all package tests
run: pnpm -r --no-bail --if-present test
run: pnpm test
- name: Build release inputs
run: pnpm run build:all
# The MCP test suite regenerates the action catalog (catalog.ts + the
# catalog.json the docs site consumes). Fail if the committed snapshot