# Deploying a PNPM Monorepo to Cloudflare Pages

DevFeed: [Deploying a PNPM Monorepo to Cloudflare Pages](<https://devfeed.tech/articles/deploying-a-pnpm-monorepo-to-cloudflare-pages-21442.md>)

Original publisher: [Read original article](<https://nx.dev/blog/pnpm-monorepo-cloudflare-pages>)

Author: Juri Strumpflohner

Published: 2026-04-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [monorepo](<https://devfeed.tech/topics/monorepo.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [npm](<https://devfeed.tech/tags/npm.md>), [nx](<https://devfeed.tech/tags/nx.md>), [pnpm](<https://devfeed.tech/tags/pnpm.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

This tutorial explains how to deploy multiple apps from a pnpm or npm monorepo to Cloudflare Pages using Nx and one generic GitHub Actions workflow. Nx uses the project graph to identify affected apps, while caching avoids unnecessary rebuilds and redeployments.

## Source excerpt

Deploy apps from a pnpm or npm workspace to Cloudflare Pages with one GitHub Actions workflow, using Nx as the task scheduler to rebuild only what changed.