When we have a bug in our app so build fails, CI job should also fail and do not proceed to deploy, but Cloudflare Pages does not behave like this, so in case of fail it will deploy empty site (404 everywhere).
It is Nuxt 2 site. Preset is configured. Tried both
npm run generate and
How to make CF builds to behave correctly?