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 }}- turbo-${{ github.job }}-${{ github.ref_name }}-
- run: cd apps/web - run: cd apps/web
- run: yarn prisma migrate deploy - run: yarn prisma migrate deploy
- run: yarn db-seed
- run: yarn test - run: yarn test
- run: yarn build
- name: Cache playwright binaries - name: Cache playwright binaries
uses: actions/cache@v2 uses: actions/cache@v2

View File

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

View File

@ -15,6 +15,7 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"", "format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint", "lint": "turbo run lint",
"prepare": "husky install", "prepare": "husky install",
"test": "turbo run test",
"type-check": "turbo run type-check" "type-check": "turbo run type-check"
}, },
"devDependencies": { "devDependencies": {

View File

@ -2,6 +2,10 @@
"baseBranch": "origin/main", "baseBranch": "origin/main",
"globalDependencies": [".env"], "globalDependencies": [".env"],
"pipeline": { "pipeline": {
"@calcom/calendso#db-deploy": {},
"@calcom/calendso#db-seed": {
"dependsOn": ["@calcom/calendso#db-deploy"]
},
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"] "outputs": ["dist/**", ".next/**"]
@ -21,6 +25,9 @@
"lint": { "lint": {
"outputs": [] "outputs": []
}, },
"test": {
"dependsOn": ["@calcom/calendso#build", "@calcom/calendso#db-seed"]
},
"type-check": { "type-check": {
"outputs": [] "outputs": []
} }