Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Jul 3, 2024
1 parent 6652c88 commit ec0e894
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 = { ...process.env, ...config({ path: path.resolve('.env.test') }) };
const env = { ...process.env, ...config({ path: path.resolve('.env.test') }).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 });
execSync('npx prisma db push --schema="./prisma/schema.prisma"', { stdio: 'inherit', env });
execSync('npx prisma db push --schema="./prisma/robochimp.prisma"', { stdio: 'inherit', env });

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

0 comments on commit ec0e894

Please sign in to comment.