From e6cb89b0cdfbda4840e46f0a73f81a599d56dca8 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 14 Mar 2026 18:40:44 +0100 Subject: [PATCH] ci: use Node.js 24 runtime for actions and bump release node to 22 Opt into Node.js 24 for GitHub Actions runners (actions/checkout@v4, actions/setup-node@v4) to silence deprecation warnings. Also bump release.yml from node 20 to 22 to match ci.yml. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 3 +++ .github/workflows/release.yml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97be4ba9..912df755 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: branches: [master, main] pull_request: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: ci: name: Typecheck & Lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 500f7864..ce5df6a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,9 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: release: name: Release @@ -21,7 +24,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm registry-url: https://registry.npmjs.org