File tree 2 files changed +3
-8
lines changed
internal-packages/testcontainers/src 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 27
27
- name : 📥 Download deps
28
28
run : pnpm install --frozen-lockfile
29
29
30
+ - name : 📀 Generate Prisma Client
31
+ run : pnpm run generate
32
+
30
33
- name : 🧪 Run Unit Tests
31
34
run : pnpm run test
Original file line number Diff line number Diff line change @@ -9,14 +9,6 @@ export async function createPostgresContainer() {
9
9
// Run migrations
10
10
const databasePath = path . resolve ( __dirname , "../../database" ) ;
11
11
12
- execSync ( `npx prisma@5.4.1 generate --schema ${ databasePath } /prisma/schema.prisma` , {
13
- env : {
14
- ...process . env ,
15
- DATABASE_URL : container . getConnectionUri ( ) ,
16
- DIRECT_URL : container . getConnectionUri ( ) ,
17
- } ,
18
- } ) ;
19
-
20
12
execSync ( `npx prisma@5.4.1 db push --schema ${ databasePath } /prisma/schema.prisma` , {
21
13
env : {
22
14
...process . env ,
You can’t perform that action at this time.
0 commit comments