关于
基于 Workflows 和 Sandbox 构建的原生 Cloudflare 持续集成。
系统与基础设施实测星标增长
- 24小时
- -1
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Cloudflare CI
A Cloudflare-native CI engine built on Workflows and Sandbox. The repository
root is the publishable @cloudflare/ci package; deployable Workers live under
examples/.
Install
pnpm add @cloudflare/ci
@cloudflare/ci targets Cloudflare Workers and publishes TypeScript source for
Workers-aware bundlers such as Wrangler. It is not a directly executable Node.js
package. Workers importing @cloudflare/ci/worker must enable the
nodejs_compat
compatibility flag.
Package API
Repository workflows import their authoring API from @cloudflare/ci:
import {
CIWorkflow,
isCiRunnerFailure,
type CiContext,
type CiParams,
type CiRunnerFailureDiagnostics,
type CiRunnerResult,
type CloudflareArtifacts,
} from '@cloudflare/ci';
The package targets the Cloudflare Workers runtime directly. It intentionally uses Workers modules and Cloudflare runtime libraries internally rather than providing a Node.js-compatible build.
Reusable primitives needed by a deployable Worker entry point are exposed from
@cloudflare/ci/worker. The HTTP routes, queue handler, Wrangler configuration,
bindings, and concrete Workflow classes remain application code in each
example.
Runner commands execute inside retryable Workflow steps. Commands with external
side effects must therefore be idempotent, as required by Cloudflare Workflows.
CiRunnerResult.logs contains raw command output and is not secret-redacted;
only provider notification previews and failure messages are redacted.
Examples
examples/cloudflare-artifactsis a basic install, check, and deploy pipeline.examples/self-healingadds an application-owned Healing Agent that consumes the package's neutral runner-failure diagnostics.
Both examples are self-contained deployable Workers. The Healing Agent, its
tools, and its AI dependencies are not part of @cloudflare/ci.
Develop
pnpm install
pnpm test
pnpm typecheck
pnpm lint
pnpm format:check
pnpm build
Run an example's commands from its own directory. Each example has an independent
package manifest, lockfile, TypeScript configuration, and Wrangler configuration
so Cloudflare can deploy the example subdirectory as a standalone repository.
The package publishes its TypeScript source directly and targets Workers-aware
bundlers rather than producing a Node.js-compatible dist build.
License
Copyright 2026 Cloudflare, Inc. Licensed under the Apache License, Version 2.0.
探索相关项目
加载中…