From abce15ff0d135ff911de7c18e8e0bb55120a3fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Thu, 10 Feb 2022 19:12:57 -0700 Subject: [PATCH] E2E fixes (#1798) --- .github/workflows/e2e.yml | 2 +- package.json | 2 +- turbo.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index e7455dd446..59d6f85009 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -71,7 +71,7 @@ jobs: key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} restore-keys: | turbo-${{ github.job }}-${{ github.ref_name }}- - - run: yarn prisma migrate deploy + - run: yarn db-deploy - run: yarn test - name: Cache playwright binaries diff --git a/package.json b/package.json index e209662d36..1fa8dfbabb 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "build": "turbo run build", "clean": "turbo run clean && rm -rf node_modules", + "db-deploy": "turbo run db-deploy", "db-seed": "turbo run db-seed", "deploy": "turbo run deploy", "dev": "turbo run dev --parallel", @@ -16,7 +17,6 @@ "format": "prettier --write \"**/*.{ts,tsx,md}\"", "lint": "turbo run lint", "prepare": "husky install", - "prisma": "yarn prisma", "start": "turbo run start", "test": "turbo run test", "test-playwright": "yarn playwright test -c apps/web/playwright.config.ts", diff --git a/turbo.json b/turbo.json index 304e0a59e5..5a0a7e204e 100644 --- a/turbo.json +++ b/turbo.json @@ -10,6 +10,7 @@ "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] }, + "db-deploy": {}, "db-seed": {}, "deploy": { "dependsOn": []