diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b527e7a..99a3d95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,20 +42,12 @@ jobs: run: npm ci - name: Generate Prisma client - run: | - npx prisma generate - echo "--- Checking generated output ---" - ls -la src/generated/prisma/ || echo "ERROR: src/generated/prisma/ does not exist!" - echo "--- Checking node_modules/.prisma ---" - ls -la node_modules/.prisma/client/ 2>/dev/null || echo "No .prisma/client in node_modules" + run: npx prisma generate - name: Run database migrations run: npx prisma migrate deploy - - name: Type check - run: npx tsc --noEmit - - - name: Build + - name: Build (includes type check and lint) run: npm run build env: AUTH_SECRET: ci-test-secret-not-for-production