From 5ec8fd44721dbee4f39ef8f0808969f0f6cc2283 Mon Sep 17 00:00:00 2001 From: Kevin Bloch Date: Wed, 18 Mar 2026 15:16:12 +0100 Subject: [PATCH] Update node runtime from 20 to 24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses GitHub's deprecation of Node.js 20 actions (forced Node.js 24 default starting June 2nd, 2026). - action.yml: using node20 → node24 - tsconfig.json: target ES2022 → ES2024 - CI matrix: [20, 22] → [22, 24] - Version bump: 3.0.0 → 4.0.0 Closes #502 --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ action.yml | 2 +- package.json | 2 +- tsconfig.json | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c37eb9..c47aa31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,8 @@ jobs: strategy: matrix: node: - - 20 - 22 + - 24 steps: - name: Checkout repo diff --git a/CHANGELOG.md b/CHANGELOG.md index ab8df9e..721148c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## [4.0.0](https://github.com/xt0rted/pull-request-comment-branch/compare/v3.0.0...v4.0.0) - 2026-03-18 + +- Updated node runtime from 20 to 24 + ## [3.0.0](https://github.com/xt0rted/pull-request-comment-branch/compare/v2.0.0...v3.0.0) - 2024-11-19 - Updated node runtime from 16 to 20 diff --git a/action.yml b/action.yml index 7078815..8de26a8 100644 --- a/action.yml +++ b/action.yml @@ -25,5 +25,5 @@ outputs: description: "The head sha of the pull request branch the comment belongs to." runs: - using: "node20" + using: "node24" main: "dist/index.js" diff --git a/package.json b/package.json index 9531316..74014ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pull-request-comment-branch", - "version": "3.0.0", + "version": "4.0.0", "private": true, "description": "Gets the head ref and sha of a pull request comment", "main": "dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index f5bdce9..94118fa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ - "target": "ES2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ + "target": "ES2024", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "module": "Node16", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */