E2E fixes (#1798)
parent
8d3f0bf38e
commit
abce15ff0d
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": ["dist/**", ".next/**"]
|
"outputs": ["dist/**", ".next/**"]
|
||||||
},
|
},
|
||||||
|
"db-deploy": {},
|
||||||
"db-seed": {},
|
"db-seed": {},
|
||||||
"deploy": {
|
"deploy": {
|
||||||
"dependsOn": []
|
"dependsOn": []
|
||||||
|
|
Loading…
Reference in New Issue