fix(ci): fold semantic-release into CI as post-check release job

This commit is contained in:
Offending Commit
2026-04-27 13:47:25 -05:00
parent e8295c36a5
commit bfbc8c1148
2 changed files with 24 additions and 28 deletions

View File

@@ -16,3 +16,27 @@ jobs:
- uses: ./.github/actions/setup
- run: pnpm turbo lint typecheck test build --filter=@openconcho/web
release:
name: Release
needs: check
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- run: pnpm exec semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions[bot]
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com