From ba099e4934ef1f9c7d767f08d64a563666de7eee Mon Sep 17 00:00:00 2001 From: Wayland Date: Sat, 24 Oct 2026 17:42:10 +0200 Subject: [PATCH] ci(workflows): resolve Node from the manifest, not the runner image cache actions/setup-node defaults to check-latest: false, which satisfies a bare major from the runner image's tool cache and consults the version manifest only when the cache has no match. The pins were therefore cosmetic at patch level: the image's cached Node lags the security releases the pins exist to pick up. Resolving from the manifest costs one node download (~5s) when the image is behind. Co-Authored-By: Wayland Co-Authored-By: Claude Opus 5 --- .github/workflows/ci.yml | 3 +++ .github/workflows/docs.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc3f7a2..214eaac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,9 @@ jobs: - uses: actions/setup-node@v5 with: node-version: "22" + # Without this, setup-node prefers the runner image's cached 22.x, + # which lags the security releases this pin exists to pick up. + check-latest: true cache: npm cache-dependency-path: frontend/package-lock.json diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5685034..32a20e5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,6 +32,9 @@ jobs: - uses: actions/setup-node@v5 with: node-version: '22' + # Without this, setup-node prefers the runner image's cached 22.x, + # which lags the security releases this pin exists to pick up. + check-latest: true cache: npm cache-dependency-path: docs/package-lock.json