Refactor e2e tests and add test helpers #1014
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: Checks | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch the full history instead of a shallow clone | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.x" | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y rsync | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Lint & Format Check | |
| run: bun run check | |
| - name: Build All Packages | |
| run: bun run build | |
| - name: Test | |
| run: bun test packages/* |