This commit is contained in:
Omar López 2022-02-10 19:12:57 -07:00 committed by GitHub
parent 8d3f0bf38e
commit abce15ff0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,7 @@ jobs:
key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: | restore-keys: |
turbo-${{ github.job }}-${{ github.ref_name }}- turbo-${{ github.job }}-${{ github.ref_name }}-
- run: yarn prisma migrate deploy - run: yarn db-deploy
- run: yarn test - run: yarn test
- name: Cache playwright binaries - name: Cache playwright binaries

View File

@ -9,6 +9,7 @@
"scripts": { "scripts": {
"build": "turbo run build", "build": "turbo run build",
"clean": "turbo run clean && rm -rf node_modules", "clean": "turbo run clean && rm -rf node_modules",
"db-deploy": "turbo run db-deploy",
"db-seed": "turbo run db-seed", "db-seed": "turbo run db-seed",
"deploy": "turbo run deploy", "deploy": "turbo run deploy",
"dev": "turbo run dev --parallel", "dev": "turbo run dev --parallel",
@ -16,7 +17,6 @@
"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",
"prisma": "yarn prisma",
"start": "turbo run start", "start": "turbo run start",
"test": "turbo run test", "test": "turbo run test",
"test-playwright": "yarn playwright test -c apps/web/playwright.config.ts", "test-playwright": "yarn playwright test -c apps/web/playwright.config.ts",

View File

@ -10,6 +10,7 @@
"dependsOn": ["^build"], "dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"] "outputs": ["dist/**", ".next/**"]
}, },
"db-deploy": {},
"db-seed": {}, "db-seed": {},
"deploy": { "deploy": {
"dependsOn": [] "dependsOn": []