ci: run Web domain acceptance on the shared web image\n\nUse marqdo-ci-web (Ubuntu + Node/Playwright Chromium from the domestic\nnpmmirror binary mirror, released CLI/Bundle and packaged preview Tool). Pin the\nproduction app Playwright to the image version and use the full Chromium channel\nto avoid the unavailable headless-shell asset; no per-run browser download.
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/manual/ci Pipeline was successful

This commit was merged in pull request #10.
This commit is contained in:
cflmy committed 2026-11-27 16:01:30 +08:00
1 parent b11cbeac57
commit a3ddccd8a4
4 files changed
+49 -17

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Web domain acceptance: one published image with Node/Chromium, the released
# CLI/Bundle and the packaged preview Tool. The domain only runs its own
# acceptance entry; no Rust toolchain, browser download or CLI setup per run.
when:
event: [push, pull_request, manual]
steps:
domain:
image: git.cflmy.cn/cflmy/marqdo-ci-web:3.0.0-rc.5
environment:
PLAYWRIGHT_BROWSERS_PATH: /ms-playwright
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
commands:
- bash scripts/domain-acceptance.sh
+33 -15
View File
@@ -11,23 +11,23 @@
"express": "^4.21.2" "express": "^4.21.2"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.49.0" "@playwright/test": "1.49.0"
} }
}, },
"node_modules/@playwright/test": { "node_modules/@playwright/test": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.49.0.tgz",
"integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", "integrity": "sha512-DMulbwQURa8rNIQrf94+jPJQ4FmOVdpE5ZppRNvWVjvhC+6sOeo28r8MgIpQRYouXRtt/FCCXU7zn20jnHR4Qw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright": "1.65.1" "playwright": "1.49.0"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"node_modules/accepts": { "node_modules/accepts": {
@@ -335,6 +335,21 @@
"node": ">= 0.6" "node": ">= 0.6"
} }
}, },
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
"node_modules/function-bind": { "node_modules/function-bind": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -592,32 +607,35 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/playwright": { "node_modules/playwright": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.49.0.tgz",
"integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", "integrity": "sha512-eKpmys0UFDnfNb3vfsf8Vx2LEOtflgRebl0Im2eQQnYMA4Aqd+Zw8bEOB+7ZKvN76901mRnqdsiOGKxzVTbi7A==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"playwright-core": "1.65.1" "playwright-core": "1.49.0"
}, },
"bin": { "bin": {
"playwright": "cli.js" "playwright": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
},
"optionalDependencies": {
"fsevents": "2.3.2"
} }
}, },
"node_modules/playwright-core": { "node_modules/playwright-core": {
"version": "1.65.1", "version": "1.49.0",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.49.0.tgz",
"integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", "integrity": "sha512-R+3KKTQF3npy5GTiKH/T+kdhoJfJojjHESR1YEWhYuEKRVfVaxH3+4+GvXE5xyCngCxhxnykk0Vlah9v8fs3jA==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"playwright-core": "cli.js" "playwright-core": "cli.js"
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=18"
} }
}, },
"node_modules/proxy-addr": { "node_modules/proxy-addr": {
+1 -1
View File
@@ -13,6 +13,6 @@
"express": "^4.21.2" "express": "^4.21.2"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.49.0" "@playwright/test": "1.49.0"
} }
} }
@@ -3,7 +3,7 @@ import { defineConfig } from "@playwright/test";
export default defineConfig({ export default defineConfig({
testDir: "./e2e", testDir: "./e2e",
timeout: 30_000, timeout: 30_000,
use: { baseURL: "http://127.0.0.1:4173" }, use: { baseURL: "http://127.0.0.1:4173", channel: "chromium" },
webServer: { webServer: {
command: "node server.js", command: "node server.js",
url: "http://127.0.0.1:4173", url: "http://127.0.0.1:4173",