From 1fb8b00a8088228d291289e7397b5f97d5a7243d Mon Sep 17 00:00:00 2001 From: zhaochy Date: Wed, 29 Jul 2026 08:17:17 +0800 Subject: [PATCH] ci: run Renovate step on Node 24 renovate@latest (43.x) requires Node >=24 but the runner defaults to Node 22 ('Unsupported node environment' -> the step errored, no bump PR opened). Add actions/setup-node@v4 (node 24) right before the npx renovate step. --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2c871c6..00efe80 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -114,6 +114,12 @@ jobs: # zhaochy1990/stride-devops (Renovate opens the PR there). # GHCR_READ_TOKEN — read:packages, to list private GHCR tags (may be the # same PAT as RENOVATE_TOKEN if it also has that scope). + # renovate@latest (43.x) needs Node >=24; the runner defaults to Node 22, + # so set up Node 24 for the npx step below. + - name: Set up Node 24 for Renovate + uses: actions/setup-node@v4 + with: + node-version: 24 - name: Open version-bump PR in stride-devops (Renovate) continue-on-error: true env: