From c7784c032dc1525a0ad2ab98de0206dedbf676bd Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Sat, 17 Jan 2026 19:44:00 +0100 Subject: [PATCH 1/2] fix: use npx semantic-release directly instead of action - Replace cycjimmy/semantic-release-action with direct npx call - All semantic-release plugins already installed as devDependencies - npx will use .releaserc configuration automatically - Simpler and more reliable approach --- .github/workflows/publish.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0c857f5..46e224d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,16 +41,7 @@ jobs: git config user.email "github-actions[bot]@users.noreply.github.com" - name: Release with semantic-release - uses: cycjimmy/semantic-release-action@v3 - with: - semantic_version: 25.0.2 - branch: main - extra_plugins: | - @semantic-release/commit-analyzer - @semantic-release/release-notes-generator - @semantic-release/npm - @semantic-release/git - @semantic-release/github + run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From f23d953bdac27ae6593d6c33622d01073ac9f40d Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Sat, 17 Jan 2026 19:45:11 +0100 Subject: [PATCH 2/2] fix: update Node.js to 22.x for semantic-release v25 compatibility - semantic-release v25 requires Node ^22.14.0 or >= 24.10.0 - Update publish.yml to use Node 22.x - Update pr-checks.yml to use Node 22.x for consistency --- .github/workflows/pr-checks.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index be6e38c..83591a4 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [20.x] + node-version: [22.x] steps: - name: Checkout code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 46e224d..4c006e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'npm' - name: Install dependencies