From 8445fb729a6c023a4b3aa5a9835ce42d8431ddfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mart=C3=ADnez?= Date: Sat, 25 Apr 2026 18:59:38 +0200 Subject: [PATCH] ci: opt into Node.js 24 for GitHub Actions runners Adds FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at the workflow level to silence the Node.js 20 deprecation warnings ahead of the June 2026 forced migration. Also bumps node-version to 24 in setup-node. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3faa823..8b8809b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ on: permissions: contents: write +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: build: runs-on: ubuntu-latest @@ -19,7 +22,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: npm - name: Install dependencies