diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18c276782..ad7c7e45b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,9 @@ on: push: branches: - main - - beta + - releases/beta -permissions: - contents: read +concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: @@ -37,8 +36,12 @@ jobs: run: yarn - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies run: npm audit signatures - - name: Release + - name: Publish + uses: changesets/action@v1 + with: + title: 'release: version packages' + commit: 'release: version packages' + publish: yarn publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: yarn semantic-release