From 5e31a5d9aabe146e86d6bf91f77c4e25adeadb6f Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Wed, 22 Oct 2025 21:05:05 +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 1f8c375..26cb075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,9 @@ jobs: - name: ⎔ Setup node 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 @@ -145,9 +147,11 @@ jobs: run: npm run build - 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 78c788a498b289d987927a73a49b58b061095fff Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Thu, 23 Oct 2025 07:44:31 +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 26cb075..75f34e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,9 +132,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