Any number of things can cause the engine to quit after a few minutes. Since the engine is out in the breeze, we don't have to worry about cowling problems. That leaves us with fuel flow, air leakage, and needle settings.
If there's any obstruction at all in the fuel flow, the engine will lean and die. Very common is a blocked tank vent. That prevents air from coming into the tank to replace the fuel pulled out by the engine. A vacuum builds up and prevents fuel draw. Make sure the tap in the muffler and the pressure line are clean and allow free flow. You never use a check valve in a muffler pressure line.
If there's any kind of air leak in the line, it will be caused by cracks or holes. This adds air to the fuel, which is the same as turning the needle a bit leaner.
Please make sure that the high-speed needle is set on the rich side of peak RPM. Richer is better, especially with a newer engine.
Air being agitated into the fuel inside the tank adds air to the mixture, which leans the engine. It will overheat and quit.
If all else fails, you need to put the engine on a test fixture and run it extensively with a known-good fuel system. If the engine will run ''all day'' on the test stand, then the problem is in the airframe/fuel system/engine combination.