mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 05:21:43 +00:00
ci: add prisma generate diagnostics to debug TS2307
Add ls output after prisma generate to verify files exist before tsc runs. This will show whether the generated client is in src/generated/prisma/ or elsewhere. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0f001e70d1
commit
b8a939a4f6
@@ -42,10 +42,12 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Generate Prisma client
|
||||
run: npx prisma generate
|
||||
|
||||
- name: Verify Prisma client generated
|
||||
run: ls -la src/generated/prisma/
|
||||
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"
|
||||
|
||||
- name: Run database migrations
|
||||
run: npx prisma migrate deploy
|
||||
|
||||
Reference in New Issue
Block a user