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