diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b991c9..77b6c77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,7 +80,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 @@ -90,9 +92,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',