From 6c886fe3b918db6649f7ea91ffcd16fcc76f0b08 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 13 Jan 2025 21:21:18 +0200 Subject: [PATCH] chore(e2e): order around docker test --- .github/workflows/main-docker.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml index d7370b222..06a1d1d4c 100644 --- a/.github/workflows/main-docker.yml +++ b/.github/workflows/main-docker.yml @@ -48,7 +48,11 @@ jobs: node-version: 20 cache: "npm" - - run: npm ci + - name: Install npm dependencies + run: npm ci + + - name: Install Playwright Browsers + run: npx playwright install --with-deps - name: Run the TypeScript build run: npx tsc @@ -78,9 +82,7 @@ jobs: wait-time: 50 require-status: running require-healthy: true - - - name: Install Playwright Browsers - run: npx playwright install --with-deps + - name: Run Playwright tests run: TRILIUM_DOCKER=1 npx playwright test - uses: actions/upload-artifact@v4