From 1c7d46c46763785e589eae43d9def201bc2019b8 Mon Sep 17 00:00:00 2001 From: borislavr Date: Tue, 9 Jun 2026 13:54:57 +0300 Subject: [PATCH 1/3] chore: update Node.js version to 24 and adjust build target to ES2023 --- .vscode/settings.json | 3 --- action.yml | 2 +- package.json | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index eadcfa1dde..58aaa72da9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,5 @@ { "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" - }, - "files.exclude": { - "dist/": true } } diff --git a/action.yml b/action.yml index b26bad7b88..417d823f70 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ name: 'Release Drafter' description: 'Drafts your next release notes as pull requests are merged into master.' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js' branding: icon: edit-2 diff --git a/package.json b/package.json index 0b9aa1620b..6344bcbe15 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "ISC", "repository": "https://github.com/release-drafter/release-drafter", "scripts": { - "build": "ncc build action.js --target es2021", + "build": "ncc build action.js --target es2023", "start": "probot run ./index.js", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch --notify --notifyMode=change --coverage", @@ -49,7 +49,7 @@ "prettier": "2.7.1" }, "engines": { - "node": ">=20.0.0" + "node": ">=24.0.0" }, "jest": { "testEnvironment": "jest-environment-node", From 88395de5f5b69254c34c47a59bcc005cef824a4c Mon Sep 17 00:00:00 2001 From: Boris Lavrishchev Date: Tue, 9 Jun 2026 15:39:43 +0300 Subject: [PATCH 2/3] chore: upgrade setup-node action to version 4 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50cea508ea..f540680d87 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '20' cache: 'yarn' From dbef1bb9329abd638229a50b98a88a561807cee0 Mon Sep 17 00:00:00 2001 From: Boris Lavrishchev Date: Tue, 9 Jun 2026 15:40:03 +0300 Subject: [PATCH 3/3] chore: update Node.js version in GitHub Actions workflow --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f540680d87..769d36a5cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn test