Skip to content

Build your personal knowledge base with Trilium Notes

chore(e2e): order around docker test

Elian Doran6c886fe3b918
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index d7370b2225..06a1d1d4c3 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