From a83e800101315355d016d52f3f141168ac3985cd 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 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 097b46a..34abffa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,17 +42,16 @@ 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@22 + semantic-release