From 0fb475f1318f587112ce7744274155f924d259ba Mon Sep 17 00:00:00 2001 From: PythonWoods Date: Tue, 21 Apr 2026 19:53:15 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20Direttiva=20069=20=E2=80=94=20Infrastruct?= =?UTF-8?q?ure=20Hardening,=20Node=2024=20migration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ci.yml: matrix [20,22] → [22,24]; add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 - release-docs.yml: node-version 22 → 24; add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 - npm-audit.yml: node-version 22 → 24; add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 Eliminates Node 20 (deprecated Jun 2026) from all CI paths. Aligns runner environment with GitHub's Node 24 standard. Unblocks upload-artifact@v4 and wrangler-action@v3 compatibility. --- .github/workflows/ci.yml | 4 +++- .github/workflows/npm-audit.yml | 4 +++- .github/workflows/release-docs.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31010ee..55cbd91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,12 @@ jobs: validate: name: Validate (Node ${{ matrix.node }}) runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true strategy: fail-fast: false matrix: - node: [20, 22] + node: [22, 24] steps: - name: Checkout diff --git a/.github/workflows/npm-audit.yml b/.github/workflows/npm-audit.yml index a9d9208..c8dc170 100644 --- a/.github/workflows/npm-audit.yml +++ b/.github/workflows/npm-audit.yml @@ -25,6 +25,8 @@ jobs: audit: name: Dependency audit runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - name: Checkout @@ -33,7 +35,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: npm - name: Install dependencies diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index 33272a1..bf95894 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -18,6 +18,8 @@ jobs: release: name: Build and publish docs artifact runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - name: Checkout @@ -26,7 +28,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 cache: npm - name: Install dependencies