Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.17 KB

File metadata and controls

53 lines (41 loc) · 1.17 KB

Release Baseline Checklist(1.1.2)

0. 环境要求

  • Node.js 18+
  • npm 9+

1. 安装与校验

npm install
npm run verify

Windows 可直接运行:

verify.bat

2. 预览

./run.sh

检查以下页面:

  • /
  • /en/
  • /members
  • /projects
  • /papers
  • /news

3. 通过标准

  • verify 通过
  • validate:content 通过
  • build 通过
  • test:smoke 通过
  • test:seo 通过
  • verify.bat 一键校验通过(Windows)
  • 中文页面无乱码
  • 中英文主要入口都能访问
  • canonical / hreflang / OG 输出正确

4. 失败排查

  • verify 失败:先看卡在哪一步,再对应下方各项逐一排查
  • validate:content 失败:优先检查 frontmatter、语言配对、文件路径
  • build 失败:检查页面 import、字段拼写、内容集合命名,以及是否有旧 dist/ 干扰
  • test:smoke 失败:优先检查页面静态文案是否被误删或再次出现乱码
  • test:seo 失败:优先检查 PUBLIC_SITE_URL、语言路由映射与布局层 meta 输出
  • verify.bat 失败:先看停在哪一步,再对应上面各项逐一排查