fix(ci): set proper environment variables for playwright

This commit is contained in:
Elian Doran 2025-11-10 18:15:35 +02:00
parent 9b69b0ad0d
commit e70c6b69b8
No known key found for this signature in database

View File

@ -16,6 +16,11 @@ permissions:
jobs: jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
TRILIUM_DOCKER: 1
TRILIUM_PORT: 8080
TRILIUM_DATA_DIR: "${{ github.workspace }}/apps/server/spec/db"
TRILIUM_INTEGRATION_TEST: memory
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
with: with:
@ -57,7 +62,7 @@ jobs:
sleep 10 sleep 10
- name: Server end-to-end tests - name: Server end-to-end tests
run: TRILIUM_DOCKER=1 TRILIUM_PORT=8080 pnpm --filter server-e2e e2e run: pnpm --filter server-e2e e2e
- name: Upload test report - name: Upload test report
if: failure() if: failure()