🧪 Daily Unit Tests #178
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: "🧪 Daily Unit Tests" | |
| on: | |
| schedule: | |
| - cron: '0 4 * * *' # Daily at 4 AM UTC | |
| workflow_dispatch: | |
| jobs: | |
| run-tests: | |
| name: Run unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run unit tests | |
| env: | |
| CI: true | |
| run: bun run test:run |