From 5831310fd7b78a8d353ff7635e4caf55b927139f Mon Sep 17 00:00:00 2001 From: 1bcMax Date: Mon, 19 Oct 2026 23:55:07 -0500 Subject: [PATCH] ci: run CI and publish on Node 24 openclaw 2026.10+ (the devDependency Dependabot #486 bumps to) refuses to install below Node 24.16, so npm ci fails on the Node 22 runners and every check goes red before a test runs. Move the lint, build/test and publish jobs to Node 24, plus the Docker images that install openclaw@latest (the scanner image among them). engines stays >=22: openclaw is dev-only, and Dockerfile.install-test and the pinned openclaw-2026.5 image still cover a Node 22 user install. --- .github/workflows/ci.yml | 8 ++++++-- .github/workflows/publish.yml | 2 +- test/Dockerfile.test | 2 +- test/docker/Dockerfile.edge-cases | 2 +- test/integration/Dockerfile | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fca990d..0f6a6aa0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,13 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + # Node 24, not the package's `engines` floor of 22: the openclaw + # devDependency (2026.10+) refuses to install below Node 24.16, so + # `npm ci` fails on 22. Users still install fine on 22 — openclaw is + # dev-only here, and test/Dockerfile.install-test keeps covering 22. - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: "22" + node-version: "24" cache: npm - run: npm ci @@ -42,7 +46,7 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: "22" + node-version: "24" cache: npm - run: npm ci diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d0f03cf2..d5a558d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: "22" + node-version: "24" registry-url: "https://registry.npmjs.org" - name: Resolve versions diff --git a/test/Dockerfile.test b/test/Dockerfile.test index c35faa11..84b05a92 100644 --- a/test/Dockerfile.test +++ b/test/Dockerfile.test @@ -1,4 +1,4 @@ -FROM node:22-slim +FROM node:24-slim # Install OpenClaw dependencies RUN apt-get update && apt-get install -y \ diff --git a/test/docker/Dockerfile.edge-cases b/test/docker/Dockerfile.edge-cases index 0ae2fd23..69343373 100644 --- a/test/docker/Dockerfile.edge-cases +++ b/test/docker/Dockerfile.edge-cases @@ -1,5 +1,5 @@ # Edge case testing for ClawRouter + OpenClaw integration -FROM node:22-slim +FROM node:24-slim # Install dependencies RUN apt-get update && \ diff --git a/test/integration/Dockerfile b/test/integration/Dockerfile index be4f5707..23f6a1e1 100644 --- a/test/integration/Dockerfile +++ b/test/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-slim +FROM node:24-slim # Install system dependencies RUN apt-get update && apt-get install -y \