diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e14379..0e153f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,17 +52,9 @@ jobs: - name: Check build health run: yarn build - name: 🚀 Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v4 with: - semantic_version: 17 - extra_plugins: | - @semantic-release/git - branches: | - [ - 'main', - {name: 'beta', prerelease: true}, - {name: 'alpha', prerelease: true} - ] + semantic_version: 24 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/release.config.js b/release.config.js index 38284f0..355e5f9 100644 --- a/release.config.js +++ b/release.config.js @@ -1,4 +1,5 @@ module.exports = { + branches: ['main', { name: 'beta', prerelease: true }, { name: 'alpha', prerelease: true }], plugins: [ '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', @@ -9,12 +10,5 @@ module.exports = { }, ], '@semantic-release/github', - [ - '@semantic-release/git', - { - assets: ['package.json'], - message: 'chore(release): ${nextRelease.version}', - }, - ], ], }