Repository navigation
ci: migrate to base-ci v2026.12 and CI slot standard (strict) - #58
Merged
Merged
Conversation
Co-authored-by: Zheng Li <nocoo@users.noreply.github.com>
Co-authored-by: Zheng Li <nocoo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
将 CI 钉到
nocoo/base-ci@1ea10ecab22b72512399485391603fe03a161016(v2026.12),以单 job 调用quality.yml并启用 strictslot-status(12 个槽位)。风格对齐 pilot nocoo/sleepy#56。变更要点:
quality.ymlSHA;启用workflow-lint+ yamllint、build独立 B1 作业(原prepare-command: bun run build并入 B1)。osv-config/gitleaks-config。workflow-lint-required-workflow(仓库内无deploy-worker.yml调用)。槽位声明
typecheck-command: bun run typecheckbun run lintworkflow-lint: true,yamllint.gitleaks.tomlosv-scanner.tomlbuild-command: bun run buildtest-command: bun run test:coverage,coverage-path: coverage@nocoo/base-cli但尚未接入 npm pack / publint 的 CI 门禁槽位外步骤
无。仓库仅
.github/workflows/ci.yml一个 workflow,除quality调用外无其它 job。Required check(分支保护建议)
仅
CI / quality / Z1: Gate(以首次绿 run 在 PR Checks 页显示的确切名称为准)。其它槽位检查名(v2026.12 顶平作业,预期前缀
CI / quality /):S1: TypecheckS2: LintS3: Workflow LintG1: Secret ScanG2: Dependency VulnerabilitiesB1: BuildL1: Unit Tests & CoverageZ1: Gateslots.md 歧义 / 说明
login.test.ts的真实 loopback HTTP 属于 Vitest 单测/integration,按 slots.md 边界归 L1,不单独开l2: true。prepare-command在 L1 前构建;v2026.12 用独立 B1 作业表达构建槽位,已从 L1 移除prepare-command(Vitest 直接测src/,不依赖dist/)。ci:package/ publint;标 todo 而非 na。