From 1d4f2f33ec6259f554853bbe553db944fd294712 Mon Sep 17 00:00:00 2001 From: Aaron McConnell Date: Mon, 27 Jul 2026 11:54:59 -0400 Subject: [PATCH] chore: update GitHub Actions to Node 24-compatible versions GitHub Actions runners will default to Node 24 on 2026-06-16 and remove Node 20 in fall 2026 (JS actions on Node 12/16/20 are all affected). Bump every JS-based action to its latest Node 24-capable release, SHA-pinned with a version comment. Not changed (no Node 24 release / composite / archived): - darenm/Setup-VSTest (no Node 24 release exists) - dtolnay/rust-toolchain (composite action) - actions/create-release, actions/upload-release-asset (archived; need rewrite) Ref: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Co-Authored-By: Claude Opus 4.8 --- .github/workflows/node-ci.yml | 4 ++-- .github/workflows/npm-publish.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 1ab1af6..8eafe20 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -17,9 +17,9 @@ jobs: node-version: [8, 10, 12, 14, 15] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Node JS ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e141dca..28b8406 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,8 +13,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 12 - run: npm install @@ -24,8 +24,8 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: 12 registry-url: https://registry.npmjs.org/