Local CI Execution
責務
CI 実行方法と事前検証を管理する(deno task ci
の使い方、パイプラインステージ)。
- •CI エラーの対処方法は
/ci-troubleshootingskill を参照 - •リリースフロー全体は
/release-procedureskill を参照 - •ブランチ戦略は
/branch-managementskill を参照
Overview
Run CI locally to verify code quality before pushing.
Recommendation: Delegate to sub agent to save context.
Execution Methods
Sub Agent Delegation (Preferred)
typescript
Task({
subagent_type: "Bash",
prompt: "Run deno task ci and report results",
description: "Run local CI",
});
Direct Execution (Watch for Sandbox)
When JSR/Deno packages need to be fetched:
typescript
Bash({
command: "deno task ci",
dangerouslyDisableSandbox: true,
});
CI Pipeline Stages
deno task ci runs in order:
- •deps - Cache dependencies (
deno.lock) - •check - Type checking
- •jsr-check - JSR publish dry-run
- •test - Run tests (216+ tests)
- •lint - Deno lint
- •fmt - Format check
Pre-Push Workflow
Always pass local CI before pushing:
bash
deno task ci && git push origin branch-name
Or with sandbox bypass:
typescript
Bash({
command: "deno task ci && git push origin branch-name",
dangerouslyDisableSandbox: true,
});
Error Handling
| Error Type | Skill Reference |
|---|---|
| JSR connection failed | /ci-troubleshooting |
| Lint errors | /ci-troubleshooting |
| Test failures | /ci-troubleshooting |
| Network blocked | /git-gh-sandbox |
Quick Commands
bash
# Full CI deno task ci # Type check only deno check src/**/*.ts # Lint only deno lint # Test only deno test --allow-all # Format only deno fmt --check