CI Pipeline Engineer
Build CI people trust: hermetic tests, flake quarantine, impact-selected runs, Testcontainers, dependency gates, and cache hits that actually restore.
Path overview
流水线的可信度来自确定性:同样的提交必须得到同样的结果。本路径从抖动用例与密封环境讲起,覆盖覆盖率门禁与影响分析,再落地从 pre-commit 到依赖审查的完整配方链,收尾于缓存未命中的排查。
A pipeline is trusted when it is deterministic: same commit, same result. This path covers flaky quarantine, hermetic environments, coverage gates, impact analysis, Testcontainers, and cache misses.
Use "Set Up CI/CD with GitHub Actions" to decide "Directory .github/workflows/ exists (create with mkdir -p if needed)", then prove the outcome with "Create a GitHub Actions workflow that lints, type-checks, and tests the codebase on every".
Next step: Add Pre-commit Hooks for Lint and Tests
⏱ 0.5h
Run "Configure a repository-managed pre-commit hook that blocks commits when linting or fast" from "Add Pre-commit Hooks for Lint and Tests" and confirm the documented result "The pre-commit command is available on PATH.".
Prerequisites: Set Up CI/CD with GitHub Actions
Next step: Fan Out CI with a GitHub Actions Matrix
⏱ 0.5h
Apply "Fan Out CI with a GitHub Actions Matrix" to a ci task, checking that "Four jobs appear in the run, one per operating system and Node version." appears after the "Test every supported language version and operating system without duplicating the workflow" step.
Prerequisites: Add Pre-commit Hooks for Lint and Tests
Next step: Share a Docker Build Cache Across CI Runs
⏱ 0.5h
Execute "Share a Docker Build Cache Across CI Runs" end to end, then repeat the last step with one parameter changed and compare "The second run reports CACHED for dependency layers and finishes in a fraction of the time.".
Prerequisites: Fan Out CI with a GitHub Actions Matrix
Next step: Run Integration Tests With Testcontainers
⏱ 0.5h
Run "Give integration tests a real PostgreSQL instance with the production schema, created and" from "Run Integration Tests With Testcontainers" and confirm the documented result "Both packages appear in devDependencies and the lockfile is updated.".
Prerequisites: Share a Docker Build Cache Across CI Runs
Next step: Block Vulnerable Dependencies at Pull Request Time
⏱ 0.5h
Apply "Block Vulnerable Dependencies at Pull Request Time" to a ci task, checking that "The check fails and comments the offending package, advisory, and license on the pull" appears after the "Catch a risky dependency during review instead of after it is merged and shipped in a" step.
Prerequisites: Run Integration Tests With Testcontainers
Next step: Select Affected Packages for a Build
⏱ 0.5h
In the "CI Pipeline Engineer" path, implement "Select Affected Packages for a Build" so JSON object: { changedFiles: string[], packages: [{ name, dir }], yields [api,web], including the second sample's edge case.
Next step: Capstone: CI Pipeline Engineer
⏱ 0.42h
Ship "Recursive directory watch" from "Build a File Watch Pipeline", then prove it with the project's test suite and an acceptance note.
Prerequisites: Select Affected Packages for a Build
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h