From 221ae9e5ef1d7ec6e3c4723131d4fbdb896c4b1e Mon Sep 17 00:00:00 2001 From: BrendanC23 <4711227+BrendanC23@users.noreply.github.com> Date: Tue, 27 Jan 2026 18:12:32 -0600 Subject: [PATCH] ci: updated publish workflow to use node 24 This commit updates from Node 20 to Node 24. Semantic Release [version 25](https://github.com/semantic-release/semantic-release/releases/tag/v25.0.0) has a breaking change and drops support for node 20: >node-versions: drop support for node versions v20, v21, and v23 node-versions: a minimum of node v22.14 is now required This causes publishing in CI to fail with the error "[semantic-release]: node version ^22.14.0 || >= 24.10.0 is required. Found v20.19.5." This fixes https://github.com/react-hook-form/resolvers/issues/836. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cf0e311..8d9252d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 - name: Setup bun uses: oven-sh/setup-bun@v1