PNPM Monorepo on cloudflare pages

hello, i have a pnpm monorepo using lerna, i would like to deploy one of the apps to cloudflare pages from my monorepo

heres my build configuration
Build command: pnpm install --force && cd apps/cdn && npx @cloudflare/next-on-pages@1
Build output directory: /apps/cdn/.vercel/output/static
Root directory: /


the issue is that i cannot cd into the correct directory and its running the npx @cloudflare/next-on-pages@1 at root directory and build is failing for the same reason
Was this page helpful?