chore: version packages (#24) #86
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: package.json | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Lint | |
| run: bun run lint | |
| - name: Type check | |
| run: bun run check-types | |
| - name: Build | |
| run: bun run build | |
| - name: Run unit tests | |
| run: bun run test:unit | |
| # E2E tests depend on external network/services and can be flaky. | |
| # Keep signal without blocking contributors. | |
| - name: Run E2E tests | |
| continue-on-error: true | |
| run: bun run test:e2e |