You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/schema.yml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,11 @@ jobs:
23
23
npm run db:pull
24
24
npx @biomejs/biome format --write ./database/migrations
25
25
26
+
- name: Fix Import Paths
27
+
run: |
28
+
# Replace "./schema" with "./schema.js" (Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext')
29
+
sed -i 's|"./schema"|"./schema.js"|g' ./database/migrations/relations.ts
0 commit comments