chore/ci-checks
main
.gitea/workflows/ci.yml
yarn install --immutable
biome format .
tsc -b
vite build + SSG
build-tutorial.yml
push: main
镜像构建不再进 PR 检查,PR 门禁由新 CI 承担。
@biomejs/biome@^2.5.15
biome.json
css.parser.tailwindDirectives
@theme
json.parser.allowComments
format
format:check
strip-comments 清掉 vite.config.ts 残留 4 条机制注释(COOP/COEP、allowedHosts 机制在 README 已有,不入码)
yarn run format:check
yarn workspace @stack/tutorial build
No dependencies set.
The note is not visible to the blocked user.
改动
新增
.gitea/workflows/ci.yml(PR 检查流,ci 内直跑、不走 Dockerfile)yarn install --immutable(yarn 4 由 yarnPath 提供,node 直调,不依赖 runner 全局 yarn)biome format .(新接入 biome 2.5.15)tsc -b(连带 design-system 源码)vite build + SSG,产物随任务容器丢弃,不收产物build-tutorial.yml收敛为仅push: main+ 手动触发镜像构建不再进 PR 检查,PR 门禁由新 CI 承担。
biome 接入
@biomejs/biome@^2.5.15+biome.json:单引号、无分号、2 空格、行宽 100;遵循 .gitignore;排除 .yarn/dist/build/.docusaurus;css.parser.tailwindDirectives放行@theme,json.parser.allowComments放行 tsconfig 注释format/format:check顺带
strip-comments 清掉 vite.config.ts 残留 4 条机制注释(COOP/COEP、allowedHosts 机制在 README 已有,不入码)
本地验证
yarn install --immutable✓yarn run format:check✓(exit 0)tsc -b✓yarn workspace @stack/tutorial build✓(20 页 SSG 全部成功)