chore: Remove old Python files and update CI for Next.js
Some checks failed
Build and Push Docker Image / build (push) Blocked by required conditions
Build and Push Docker Image / lint-and-typecheck (push) Has been cancelled

- Remove Python tests, alembic migrations, and requirements.txt
- Update CI workflow to use Node.js instead of Python
- CI now runs TypeScript check and lint before Docker build

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-06 12:40:26 +01:00
parent a79b79efd2
commit 3594bcf297
15 changed files with 15 additions and 1024 deletions

View File

@@ -17,29 +17,33 @@ env:
IMAGE_NAME: letsbe/hub
jobs:
test:
lint-and-typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Set up Node.js
uses: actions/setup-node@v4
with:
python-version: '3.11'
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-asyncio aiosqlite
run: npm ci
- name: Run tests
run: pytest -v --tb=short
- name: Generate Prisma client
run: npx prisma generate
- name: Run TypeScript check
run: npm run typecheck
- name: Run linter
run: npm run lint --if-present
build:
runs-on: ubuntu-latest
needs: test
needs: lint-and-typecheck
steps:
- name: Checkout repository
uses: actions/checkout@v4