From 453b08827bee0b6ecd3e6d1b2661eb95e4700d35 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Wed, 22 Oct 2025 21:11:39 +0900 Subject: [PATCH 1/2] chore: flow-up for trusted publishing --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c735d12..1c1d557 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,9 @@ jobs: - name: ⎔ Setup node uses: actions/setup-node@v4 with: - node-version: lts/* + # node 24 is required for semantic-release@v25. + # However, `lts/*` may point to v24 in the near future, so it's better to use `lts/*`. + node-version: 24 # npm 11.5.1 or later is required so update to latest to be sure - name: Update npm @@ -122,9 +124,11 @@ jobs: run: npm install --legacy-peer-deps - name: 🚀 Release - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@v5 with: - semantic_version: 19 + # semantic-release@v25 is required for trusted publishing. + # https://github.com/semantic-release/semantic-release/releases/tag/v25.0.1 + semantic_version: 25 branches: | [ '+([0-9])?(.{+([0-9]),x}).x', From 687186e93fd2aeb987febbe6a2391efcaf012656 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Thu, 23 Oct 2025 07:44:19 +0900 Subject: [PATCH 2/2] ci: update Node.js version to lts/* for release job --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c1d557..0f9e4ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,9 +112,7 @@ jobs: - name: ⎔ Setup node uses: actions/setup-node@v4 with: - # node 24 is required for semantic-release@v25. - # However, `lts/*` may point to v24 in the near future, so it's better to use `lts/*`. - node-version: 24 + node-version: lts/* # npm 11.5.1 or later is required so update to latest to be sure - name: Update npm