From b16e2b20c7c8db2bfdbd0815028bc0cf1932f0fe Mon Sep 17 00:00:00 2001 From: Tomas Aprile Date: Tue, 30 Jun 2026 17:13:04 -0300 Subject: [PATCH] chore(release): default semantic-release to v25 Bump the default `semantic-release-version` from 24 to 25. semantic-release v25 raised the Node floor (>= 22.14, and >= 24.10.0 on the Node 24 line) and upgrades the bundled npm plugin to npm v11 for publishing. Our reusable workflow defaults node-version to '24', which resolves to the latest 24.x on ubuntu-latest and satisfies the floor. The extra plugins we install all support v25: @semantic-release/changelog 6.0.3 (peer >=18) @semantic-release/git 10.0.1 (peer >=18) @semantic-release/exec 7.1.0 (peer >=24.1) Claude-Session: https://claude.ai/code/session_01Ee1r9bN64AbykXDUQXYiS9 --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b83b3c..c06b579 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,13 @@ on: description: Version of semantic-release to install (passed to cycjimmy/semantic-release-action). required: false type: string - default: '24' + # NOTE: semantic-release v25 raised the Node floor — it requires Node >= 22.14, + # and on the Node 24 line specifically >= 24.10.0. The `node-version` default + # below ('24') resolves to the latest 24.x on ubuntu-latest, which satisfies this. + # Any caller that overrides `node-version` to an older release (e.g. '20', or a + # 22.x below 22.14) will fail to run semantic-release. Confirm callers before + # relying on this default. + default: '25' extra-plugins: description: Extra semantic-release plugins to install, newline- or space-separated. Defaults to the common Refokus set (@semantic-release/changelog, @semantic-release/git, @semantic-release/exec). required: false