diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b743177..3f27ee7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,7 +239,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: "20" + node-version: "24" - name: Check docs index, links, and conformance aliases run: node scripts/check-docs.mjs diff --git a/AGENTS.md b/AGENTS.md index 8fd02bb..7c1a316 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -55,7 +55,8 @@ whichever agent you are: warns when the installed version differs, and fails on findings; CI installs the same lock through `jdx/mise-action` - [`svu`](https://github.com/caarlos0/svu) only for `make bump` -- Node 20+ only for `node scripts/check-docs.mjs` (zero dependencies) +- Node 24+ only for `node scripts/check-docs.mjs` (zero dependencies); + the 20.x line reached end-of-life on 2026-04-30, and 24 is the Active LTS ### Commands diff --git a/scripts/check-docs.mjs b/scripts/check-docs.mjs index 6f43c7c..057687e 100644 --- a/scripts/check-docs.mjs +++ b/scripts/check-docs.mjs @@ -3,7 +3,7 @@ // resolution, and release-config workflow/docs consistency — thresholds in // .coverage-thresholds.json (std ADR-0001, pattern from frostyard/core // ADR-0029; the never_relax guardrail follows core ADR-0019). Zero -// dependencies; Node >= 20. Run: node scripts/check-docs.mjs +// dependencies; Node >= 24. Run: node scripts/check-docs.mjs import { readFileSync, readdirSync, lstatSync, existsSync, realpathSync } from "node:fs"; import { join, dirname, resolve, relative, sep } from "node:path";