From 8b5c0dff920fd4fae7e60f09d51ef083d67d62ee Mon Sep 17 00:00:00 2001 From: msclock Date: Thu, 26 Sep 2024 11:11:38 +0800 Subject: [PATCH] chore: opt semantic release Signed-off-by: msclock --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 097b46a..56f4d8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,17 +42,17 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 'lts/*' - name: Semantic Release - uses: cycjimmy/semantic-release-action@v4 - id: semantic - with: - semantic_version: 22 - extra_plugins: | - @semantic-release/github - conventional-changelog-conventionalcommits@7 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: > + npx + --package conventional-changelog-conventionalcommits@7 + --package @semantic-release/github + --package semantic-release@24.1.1 + semantic-release@22