diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 45d6929..0c1020e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -11,7 +11,7 @@ see [README.md](../README.md). For the full architecture and conventions, see ## Prerequisites -- [Node.js](https://nodejs.org/) 18 or newer. +- [Node.js](https://nodejs.org/) 24 or newer (current LTS). Node is only needed to **build or develop** NetGraph — not to run a built copy. The output is plain static files (and a single self-contained HTML file) that diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c645e14..1a138b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,12 @@ permissions: jobs: build-and-test: # Build is OS-independent (Vite + tsc), so a single Linux runner is enough. - # The matrix backs up the "Node 18+" support claim in CONTRIBUTING.md. + # Pinned to Node 24 (current Active LTS), matching engines and the + # CONTRIBUTING support claim. strategy: fail-fast: false matrix: - node: [20, 22] + node: [24] runs-on: ubuntu-latest steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/package.json b/package.json index 2869f91..788bf93 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ ], "type": "module", "engines": { - "node": ">=18" + "node": ">=24" }, "scripts": { "dev": "vite",