Skip to content

Scheduling infrastructure for absolutely everyone.

Test fixes

zomars0e43766b9c25
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 2978050133d..0463cd9c665 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 106e200e055..a206cb11895 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 c82594c5b10..201bdff8337 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 22ecaab714e..2a6f39b48f9 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": []
}