diff --git a/.github/.releaserc b/.github/.releaserc new file mode 100644 index 0000000..0094869 --- /dev/null +++ b/.github/.releaserc @@ -0,0 +1,9 @@ +{ + "branches": [ + "master", + { + "name": "beta", + "prerelease": true + } + ] +} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c1b504..3206080 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: run: npm run build - name: Release - run: npx semantic-release@19.0.5 --branches master,beta + run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file