From b64fcd2eab50ca8894ca478401c4080a7c0a8f79 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Wed, 22 Oct 2025 21:08:45 +0900 Subject: [PATCH 1/2] chore: flow-up for trusted publishing --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ec9c27..8836be0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,9 +112,11 @@ jobs: uses: actions/checkout@v4 - name: ⎔ Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 22 + # 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 @@ -124,9 +126,11 @@ jobs: run: npm install - 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 72b3450e060a97c0b433f0e248056475de4cb850 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Thu, 23 Oct 2025 07:45:06 +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 8836be0..2ac56d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,9 +114,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