From 4be87b3452f524bcc256d43cfb891ba1f0e236d6 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 14 Sep 2023 09:28:30 -0600 Subject: [PATCH] chore: swap release script --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3fcbd04..51c19f47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,18 @@ jobs: run: npm run build - name: 🚀 Release - uses: ph-fritsche/action-release@v2 + uses: cycjimmy/semantic-release-action@v2 + with: + semantic_version: 17 + branches: | + [ + '+([0-9])?(.{+([0-9]),x}).x', + 'main', + 'next', + 'next-major', + {name: 'beta', prerelease: true}, + {name: 'alpha', prerelease: true} + ] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}