From 4021a6ea6415dc6704fb22d3d84664e6ef0f0f84 Mon Sep 17 00:00:00 2001 From: Wayland Date: Sat, 24 Oct 2026 17:41:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Resolve=20Node=20from=20the=20ma?= =?UTF-8?q?nifest,=20not=20the=20runner=20image=20cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/deploy.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7164466..acc953c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: uses: actions/setup-node@v4 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: yarn - name: Install dependencies diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 16a9595..9b4aa2f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,6 +26,9 @@ jobs: uses: actions/setup-node@v4 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 - name: Enable Corepack run: corepack enable