mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
ci: update e2e-tests github action
This commit is contained in:
5
.github/workflows/e2e-tests.yml
vendored
5
.github/workflows/e2e-tests.yml
vendored
@ -22,7 +22,8 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/documenso
|
NEXT_PRIVATE_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/documenso
|
||||||
|
NEXT_PRIVATE_DIRECT_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/documenso
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
@ -40,6 +41,8 @@ jobs:
|
|||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
- name: Install Prisma Client
|
- name: Install Prisma Client
|
||||||
run: npm install @prisma/client
|
run: npm install @prisma/client
|
||||||
|
- name: Generate Prisma Client
|
||||||
|
run: npm run prisma:generate -w @documenso/prisma
|
||||||
- name: Create the database
|
- name: Create the database
|
||||||
run: npm run prisma:migrate-dev -w @documenso/prisma
|
run: npm run prisma:migrate-dev -w @documenso/prisma
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
|
|||||||
Reference in New Issue
Block a user