From 0cf19a8b3ae8d7989758bef7151776766d047430 Mon Sep 17 00:00:00 2001 From: neumanf Date: Sun, 11 Aug 2024 14:24:23 -0300 Subject: [PATCH] ci: fix release --- .github/workflows/release.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 800898c..ac7e974 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,21 +18,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: 9 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - - name: Install dependencies - run: pnpm add -g semantic-release @semantic-release/git @semantic-release/github - - name: Release - run: pnpm exec semantic-release + uses: cycjimmy/semantic-release-action@v2 + id: semantic + with: + semantic_version: 17 + extra_plugins: | + @semantic-release/changelog@5 + @semantic-release/exec@5 + @semantic-release/git@9 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}