Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cd2cbd0a6 |
@@ -64,6 +64,16 @@ bun run lint
|
|||||||
|
|
||||||
**Note**: E2E tests still use Playwright, as Bun's test runner doesn't support browser automation. Unit and component tests have been migrated to Bun's native test runner for faster execution.
|
**Note**: E2E tests still use Playwright, as Bun's test runner doesn't support browser automation. Unit and component tests have been migrated to Bun's native test runner for faster execution.
|
||||||
|
|
||||||
|
### CI/CD with Bun
|
||||||
|
|
||||||
|
All CI/CD workflows have been updated to use Bun:
|
||||||
|
|
||||||
|
- **Dockerfile**: Uses `oven/bun:alpine` base image for all stages
|
||||||
|
- **PR Workflow**: Uses `oven/setup-bun` action and `bun install`, `bun test`
|
||||||
|
- **Release Workflow**: Uses Bun for version bumping and Docker builds
|
||||||
|
|
||||||
|
**Note**: The `test.yml` workflow has been removed as it's redundant with the PR workflow.
|
||||||
|
|
||||||
### Admin User Creation
|
### Admin User Creation
|
||||||
|
|
||||||
To create an admin user, use the provided scripts:
|
To create an admin user, use the provided scripts:
|
||||||
|
|||||||
+8
-3
@@ -25,14 +25,19 @@
|
|||||||
- [x] Auto-create tournament when uploading matches without selecting one
|
- [x] Auto-create tournament when uploading matches without selecting one
|
||||||
|
|
||||||
### In Progress 🔄
|
### In Progress 🔄
|
||||||
- [ ] Update CI/CD workflows to use Bun (PR, test, release)
|
|
||||||
- [ ] Update Dockerfile to use Bun Alpine image
|
|
||||||
- [ ] Verify release workflow with Bun
|
|
||||||
- [ ] Update API routes to handle new variant scoring fields
|
- [ ] Update API routes to handle new variant scoring fields
|
||||||
- [ ] Update EditTournamentForm to add variant scoring controls
|
- [ ] Update EditTournamentForm to add variant scoring controls
|
||||||
- [ ] Update MatchEditor to use tournament-specific target score
|
- [ ] Update MatchEditor to use tournament-specific target score
|
||||||
- [ ] Run tests and verify variant scoring implementation
|
- [ ] Run tests and verify variant scoring implementation
|
||||||
|
|
||||||
|
### Recently Completed ✅
|
||||||
|
- [x] Update CI/CD workflows to use Bun (PR, release)
|
||||||
|
- [x] Update Dockerfile to use Bun Alpine image
|
||||||
|
- [x] Update PR workflow to use Bun
|
||||||
|
- [x] Update Release workflow to use Bun
|
||||||
|
- [x] Remove test.yml workflow (redundant)
|
||||||
|
- [x] Verify Docker build with Bun
|
||||||
|
|
||||||
### Recently Completed ✅
|
### Recently Completed ✅
|
||||||
- [x] Fix Prisma build error in CI pipeline (Docker build failure due to missing DATABASE_URL validation)
|
- [x] Fix Prisma build error in CI pipeline (Docker build failure due to missing DATABASE_URL validation)
|
||||||
- [x] Add defensive checks to src/lib/prisma.ts to prevent build failures
|
- [x] Add defensive checks to src/lib/prisma.ts to prevent build failures
|
||||||
|
|||||||
Reference in New Issue
Block a user