#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "🔨 Building project before push..."
npm run build

if [ $? -ne 0 ]; then
  echo "❌ Build failed! Push blocked."
  exit 1
fi

echo "✅ Build successful! Proceeding with push..."
