chore: adjusted mpa validation in workflows 086ffeda
Steve · 2025-10-04 19:30 1 file(s) · +4 −3
.github/workflows/test-cli-options.yml +4 −3
689 689
690 690
          # Check for expected files based on router type
691 691
          if [ "${{ matrix.router }}" = "reactroutermpa" ]; then
692 -
            # React Router MPA has different build structure
692 +
            # React Router MPA has different build structure (client-side only)
693 693
            if [ ! -d "client/dist/client" ]; then
694 694
              echo "❌ Client build incomplete - dist/client directory not found"
695 695
              exit 1
696 696
            fi
697 697
698 -
            if [ ! -d "client/dist/server" ]; then
699 -
              echo "❌ Client build incomplete - dist/server directory not found"
698 +
            # Verify server build (separate from React Router MPA)
699 +
            if [ ! -f "server/dist/index.js" ]; then
700 +
              echo "❌ Server build incomplete - index.js not found"
700 701
              exit 1
701 702
            fi
702 703