Commit 3dd6d79
authored
feat: add CI pipeline with fmt, lint, typecheck, test, and build jobs (#16)
* feat: add CI pipeline with fmt, lint, typecheck, test, and build jobs
- Add GitHub Actions workflow (.github/workflows/ci.yml)
- 5 parallel jobs: fmt, lint, typecheck, test, build
- Triggers on push to main, all PRs, and manual dispatch
- Uses Bun for fast dependency installation
- Total runtime: ~5 seconds
- Add Prettier for code formatting
- Config: 2 spaces, single quotes, 100 char width
- Format all TypeScript, JSON, Markdown, HTML files
- New scripts: fmt, fmt:fix
- Add Biome for fast linting
- Rust-based linter (100x faster than ESLint)
- Custom rules for terminal emulator code
- Allows escape sequences, non-null assertions
- New scripts: lint, lint:fix
- Update dependencies
- Add @biomejs/biome@^1.9.4
- Add prettier@^3.3.3
- Format entire codebase with Prettier
- Consistent style across all files
- All CI checks passing locally
All jobs validated:
✅ Format check: All files formatted
✅ Lint: No errors
✅ Type check: No TypeScript errors
✅ Tests: 88/88 passing
✅ Build: Successfully generates bundles
* update ci names
* fix: update biome lint:fix to use --write instead of deprecated --apply
- Replace --apply with --write in lint:fix script
- Fix implicit any type in demo/server/file-browser-server.ts1 parent 2322b00 commit 3dd6d79
28 files changed
Lines changed: 2428 additions & 2027 deletions
File tree
- .github/workflows
- demo
- server
- docs
- lib
- addons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments