diff --git a/.github/release.yml b/.github/workflows/release.yml similarity index 87% rename from .github/release.yml rename to .github/workflows/release.yml index fcb5f8b..5ae6867 100644 --- a/.github/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: branches: - - master + - main jobs: build: runs-on: ubuntu-latest @@ -23,6 +23,6 @@ jobs: - name: Release package env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run release diff --git a/package.json b/package.json index b118eca..72f111e 100644 --- a/package.json +++ b/package.json @@ -69,11 +69,7 @@ }, "release": { "branches": [ - { - "name": "master", - "channel": "latest", - "release": true - } + "main" ], "plugins": [ "@semantic-release/commit-analyzer",