mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 20:51:33 +10:00
ci: trigger github action
This commit is contained in:
8
.github/workflows/e2e-tests.yml
vendored
8
.github/workflows/e2e-tests.yml
vendored
@ -1,9 +1,9 @@
|
|||||||
name: Playwright Tests
|
name: Playwright Tests
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [feat/refresh]
|
branches: [feat/refresh, feat/add-e2e-testing]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [feat/refresh]
|
branches: [feat/refresh, feat/add-e2e-testing]
|
||||||
jobs:
|
jobs:
|
||||||
e2e_tests:
|
e2e_tests:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
@ -38,8 +38,10 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
|
- name: Install Prisma Client
|
||||||
|
run: npm install @prisma/client
|
||||||
- name: Create the database
|
- name: Create the database
|
||||||
run: npx prisma migrate deploy
|
run: npm run prisma:migrate-dev -w @documenso/prisma
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: npm run ci
|
run: npm run ci
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user