Nightly Baseline #43
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: Nightly Baseline | |
| on: | |
| schedule: | |
| - cron: '30 4 * * *' # 4:30 AM UTC daily | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| baseline: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run full test suite | |
| id: tests | |
| continue-on-error: true | |
| run: bun run test | |
| - name: Open fix-forward PR on failure | |
| if: steps.tests.outcome == 'failure' | |
| uses: peter-evans/create-pull-request@v6 | |
| with: | |
| title: 'fix: nightly baseline failure' | |
| body: | | |
| The nightly baseline suite failed. | |
| See the [workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for details. | |
| branch: fix/nightly-baseline | |
| delete-branch: true |