# Run production build check before push
# This catches npm package incompatibilities and Docker issues before CI/CD
./scripts/build-changed-apps.sh || {
  echo ""
  echo "❌ Production build check failed!"
  echo ""
  echo "Please fix the build errors above before pushing."
  echo "These errors will cause CI/CD to fail."
  echo "Do NOT use 'git push --no-verify' to bypass these checks."
  echo ""
  exit 1
}
