chore: 初始化 Hugo 博客项目

Hextra 主题,8 篇文章,支持全文搜索/暗色模式
This commit is contained in:
claw
2026-05-13 12:48:53 +08:00
committed by fukunee
commit 07851043b1
624 changed files with 48007 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from "@playwright/test";
const baseURL = process.env.BASE_URL || "http://localhost:1313";
export default defineConfig({
testDir: "./tests",
timeout: 60_000,
retries: 0,
reporter: [["list"], ["html"]],
use: {
baseURL,
},
webServer: process.env.BASE_URL
? undefined
: {
command: "npx serve docs/public -l tcp://localhost:1313 --no-clipboard",
url: baseURL,
reuseExistingServer: !process.env.CI,
timeout: 30_000,
},
});