From 7a655034059de32d971c73032048daaa32131fac Mon Sep 17 00:00:00 2001 From: Stuart Meeks Date: Mon, 1 Jun 2026 06:05:34 +0000 Subject: [PATCH] CI: opt JavaScript actions into Node.js 24 actions/upload-artifact@v4 still runs on Node.js 20, which GitHub deprecates and will force to Node.js 24 on 2026-06-16. Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 in both workflows' env to opt in now and silence the deprecation warning. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ddf074..c8018ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,9 @@ env: DOTNET_VERSION: "10.0.x" DOTNET_NOLOGO: "true" DOTNET_CLI_TELEMETRY_OPTOUT: "true" + # Run JavaScript actions (e.g. actions/upload-artifact@v4) on Node.js 24 ahead of + # GitHub forcing it on 2026-06-16, silencing the Node.js 20 deprecation warning. + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" jobs: core-tests: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3745598..dddd695 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,9 @@ env: DOTNET_NOLOGO: "true" DOTNET_CLI_TELEMETRY_OPTOUT: "true" PACK_ID: "Snipdeck" + # Run JavaScript actions (e.g. actions/upload-artifact@v4) on Node.js 24 ahead of + # GitHub forcing it on 2026-06-16, silencing the Node.js 20 deprecation warning. + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" PACK_AUTHORS: "Stuart Meeks" PACK_TITLE: "Snipdeck"