cloudflare · Cloudflare Workers Docs
Workers Advanced setups
Configuring Cloudflare Workers Builds to work within a monorepo structure by connecting individual workers to a single repository and defining specific root directories, build commands, and watch paths.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Advanced setups
Configuring Cloudflare Workers Builds to work within a monorepo structure by connecting individual workers to a single repository and defining specific root directories, build commands, and watch paths.
When To Use
Use when you need to deploy multiple Cloudflare Workers from a single repository using tools like pnpm workspaces or Turborepo and want to trigger individual builds based on specific directory changes.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-ci-cd-builds-advanced-setups-workflow-guide.md | A guide explaining how to manage multiple Cloudflare Workers applications within a single monorepo structure. | Questions about a guide explaining how to manage multiple Cloudflare Workers applications within a single monorepo structure. |
What This Skill Covers
- A monorepo is a single repository that contains multiple applications. This setup can be useful for a few reasons:
- Main sections:
Monorepos,Example Workers monorepos:,Getting Started,Example,Wrangler Environments.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/ci-cd/builds/advanced-setups
