This commit is contained in:
daniel31x13
2025-05-01 05:48:50 -04:00
parent b56cf3faa4
commit 6cfd26da32
2 changed files with 11 additions and 19 deletions

View File

@@ -119,21 +119,17 @@ jobs:
restore-keys: |
${{ runner.os }}-playwright-
- name: Install playwright
if: steps.cache-playwright.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps
- name: Setup project
run: |
yarn prisma generate
yarn build
yarn prisma migrate deploy
yarn prisma:generate
yarn web:build
yarn prisma:deploy
- name: Start linkwarden server and worker
run: yarn start &
run: yarn concurrently:start &
- name: Run Tests
run: npx playwright test --grep ${{ matrix.test_case }}
run: yarn workspace @linkwarden/web playwright test --grep ${{ matrix.test_case }}
- uses: actions/upload-artifact@v4
if: always()

16
.gitignore vendored
View File

@@ -35,20 +35,16 @@ yarn-error.log*
next-env.d.ts
# tests
/tests
/test-results/
/blob-report/
/playwright-report/
/playwright/.cache/
/playwright/.auth/
/apps/web/tests
/apps/web/test-results/
/apps/web/blob-report/
/apps/web/playwright-report/
/apps/web/playwright/.cache/
/apps/web/playwright/.auth/
# docker
pgdata
certificates
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
# generated files and folders
/data