优化页面数据加载并完善多语言 SEO、新闻回退、主题首屏及自动化回归测试

This commit is contained in:
2026-10-22 19:01:02 +08:00
parent 7eb97cc5e3
commit 873da8b77c
53 changed files with 774 additions and 362 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Website regression checks
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm install --global corepack@0.34.5
- run: corepack enable
- run: corepack pnpm install --frozen-lockfile
- run: corepack pnpm exec playwright install --with-deps chromium
- run: corepack pnpm check
- run: git diff --check
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-results
path: test-results/
retention-days: 7