chore: improve the new publish flow (#1234) #625
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
| # On each new commit to `upcoming` (the integration trunk), create/update a release PR that | |
| # bumps the version and updates the changelog from conventional commits. Merging that PR | |
| # publishes the stable release (@latest, via publish_npmjs) and promotes `master` to it | |
| # (via promote-master). `master` therefore always reflects the latest stable release. | |
| name: Release Github | |
| on: | |
| push: | |
| branches: | |
| - upcoming | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: GoogleCloudPlatform/release-please-action@v5 | |
| id: release | |
| with: | |
| token: ${{ secrets.REPO_GHA_PAT }} | |
| release-type: node | |
| package-name: bee-js | |
| bump-minor-pre-major: true |