From c766ac01968b60d0992c6221d94f1e0221bb92a6 Mon Sep 17 00:00:00 2001 From: ChanTsune <41658782+ChanTsune@users.noreply.github.com> Date: Sat, 21 Mar 2026 22:46:23 +0900 Subject: [PATCH] Upgrade Node.js runtime from 20 to 24 Node 20 is deprecated for GitHub Actions and will be replaced by Node 24 as the default on June 2, 2026. Node 22 is not supported as a runs.using value, so this upgrades directly to Node 24. --- .github/workflows/auto-build.yml | 2 +- .github/workflows/test.yml | 4 ++-- action.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 59e36e45..acf48495 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 24.x - name: Install dependencies run: npm install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3aaa3345..27ccb859 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 24.x cache: npm - name: Install dependencies @@ -37,7 +37,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 24.x cache: npm - name: Install dependencies diff --git a/action.yml b/action.yml index e87f261f..9b26208e 100644 --- a/action.yml +++ b/action.yml @@ -43,7 +43,7 @@ outputs: tag_name: description: 'The name of the created tag_name' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js' branding: icon: 'tag' diff --git a/package-lock.json b/package-lock.json index 9e20ea07..5386bf27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "typescript": "^5.8.3" }, "engines": { - "node": ">= 20.0.0" + "node": ">= 24.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 77a2028c..b61d04ea 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "typescript": "^5.8.3" }, "engines": { - "node": ">= 20.0.0" + "node": ">= 24.0.0" }, "standard": { "parser": "@typescript-eslint/parser",