mirror of
https://github.com/zadam/trilium.git
synced 2025-12-19 05:49:50 +08:00
chore(e2e): order around docker test
This commit is contained in:
parent
093f9d60f0
commit
6c886fe3b9
1 changed files with 6 additions and 4 deletions
8
.github/workflows/main-docker.yml
vendored
8
.github/workflows/main-docker.yml
vendored
|
|
@ -48,7 +48,11 @@ jobs:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "npm"
|
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
|
- name: Run the TypeScript build
|
||||||
run: npx tsc
|
run: npx tsc
|
||||||
|
|
@ -79,8 +83,6 @@ jobs:
|
||||||
require-status: running
|
require-status: running
|
||||||
require-healthy: true
|
require-healthy: true
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
|
||||||
run: npx playwright install --with-deps
|
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: TRILIUM_DOCKER=1 npx playwright test
|
run: TRILIUM_DOCKER=1 npx playwright test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue