Test fixes

pull/1792/head
zomars 2022-02-10 11:30:32 -07:00 committed by Omar López
parent cee41eabc7
commit 0e43766b9c
4 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
{
"name": "calendso",
"name": "@calcom/calendso",
"version": "1.0.0",
"private": true,
"scripts": {

View File

@ -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": {

View File

@ -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": []
}