diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 846f00f..008dace 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,7 @@ jobs: prerelease: true } ] + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..5fe2fde --- /dev/null +++ b/.releaserc @@ -0,0 +1,17 @@ +{ + "branches": + [ + "+([0-9])?(.{+([0-9]),x}).x", + "main", + "next", + "next-major", + { name: "beta", prerelease: true }, + { name: "alpha", prerelease: true }, + ], + "plugins": + [ + "@semantic-release/commit-analyzer", + ["@semantic-release/github", { "successComment": false, "failTitle": false }], + "@semantic-release/release-notes-generator", + ], +}