This repository was archived by the owner on Mar 14, 2026. It is now read-only.
chore(ci): remove dependabot automation and refactor workflows #9
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 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| permissions: | |
| actions: read | |
| contents: write | |
| deployments: write | |
| pull-requests: write | |
| id-token: write # needed for npm oicd login | |
| jobs: | |
| Process: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| releases_created: ${{ steps.release-please.outputs.releases_created }} | |
| prs_created: ${{ steps.release-please.outputs.prs_created }} | |
| steps: | |
| - uses: google-github-actions/release-please-action@v4 | |
| id: release-please | |
| with: | |
| token: ${{secrets.RELEASE_PLEASE_TOKEN}} | |
| - name: Print Release Data | |
| run: | | |
| echo """ | |
| Release Data: | |
| ${{ toJSON(steps.release-please.outputs) }} | |
| """ | |
| Deploy: | |
| needs: Process | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Tooling | |
| uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd | |
| with: | |
| install: true | |
| cache: true | |
| experimental: true | |
| - name: Preflight | |
| run: | | |
| mise run setup | |
| mise run build | |
| - if: ${{ needs.Process.outputs.releases_created == 'true' }} | |
| run: mise run publish --tag latest | |
| - if: ${{ needs.Process.outputs.prs_created == 'true' }} | |
| name: Generate prerelease version and publish | |
| run: | | |
| bun pm version prerelease && git push origin main | |
| mise run publish --tag next |