chore: regen sdks (#582) #739
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - next | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| token: ${{ secrets.BELLA_ACTION_TOKEN }} | |
| - name: Configure Git | |
| run: | | |
| git config --global user.email '${{ secrets.BELLA_EMAIL_ADDRESS }}' | |
| git config --global user.name 'MagicBella' | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.18.0 | |
| - uses: bahmutov/npm-install@v1 | |
| - name: Create Release Pull Request or Publish to npm | |
| uses: changesets/action@v1 | |
| id: changesets | |
| with: | |
| publish: yarn changeset:release | |
| commit: 'chore: version packages' | |
| title: 'next release' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.BELLA_ACTION_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |