mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
优化页面数据加载并完善多语言 SEO、新闻回退、主题首屏及自动化回归测试
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user