diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 2978050133..0463cd9c66 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -73,9 +73,7 @@ jobs: turbo-${{ github.job }}-${{ github.ref_name }}- - run: cd apps/web - run: yarn prisma migrate deploy - - run: yarn db-seed - run: yarn test - - run: yarn build - name: Cache playwright binaries uses: actions/cache@v2 diff --git a/apps/web/package.json b/apps/web/package.json index 106e200e05..a206cb1189 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,5 +1,5 @@ { - "name": "calendso", + "name": "@calcom/calendso", "version": "1.0.0", "private": true, "scripts": { diff --git a/package.json b/package.json index c82594c5b1..201bdff833 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "format": "prettier --write \"**/*.{ts,tsx,md}\"", "lint": "turbo run lint", "prepare": "husky install", + "test": "turbo run test", "type-check": "turbo run type-check" }, "devDependencies": { diff --git a/turbo.json b/turbo.json index 22ecaab714..2a6f39b48f 100644 --- a/turbo.json +++ b/turbo.json @@ -2,6 +2,10 @@ "baseBranch": "origin/main", "globalDependencies": [".env"], "pipeline": { + "@calcom/calendso#db-deploy": {}, + "@calcom/calendso#db-seed": { + "dependsOn": ["@calcom/calendso#db-deploy"] + }, "build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] @@ -21,6 +25,9 @@ "lint": { "outputs": [] }, + "test": { + "dependsOn": ["@calcom/calendso#build", "@calcom/calendso#db-seed"] + }, "type-check": { "outputs": [] }