Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Jul 3, 2024
1 parent 3a35ccb commit 6652c88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/integration-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ async function main() {
await sleep(2000);

console.log('Getting ready...');
const env = config({ path: path.resolve('.env.test') });
const env = { ...process.env, ...config({ path: path.resolve('.env.test') }) };

execSync('prisma db push --schema="./prisma/schema.prisma"', { stdio: 'inherit', env: env.parsed });
execSync('prisma db push --schema="./prisma/robochimp.prisma"', { stdio: 'inherit', env: env.parsed });
execSync('npx prisma db push --schema="./prisma/schema.prisma"', { stdio: 'inherit', env: env.parsed });
execSync('npx prisma db push --schema="./prisma/robochimp.prisma"', { stdio: 'inherit', env: env.parsed });

console.log('Building...');
execSync('yarn build', { stdio: 'inherit' });
Expand Down

0 comments on commit 6652c88

Please sign in to comment.