First thing to try, loosen gas cap. If it will keep running, the vent in the cap is plugged.
No change-immediately after it stops, pull the spark plug, reattach wire, ground the plug and crank the engine to see if you still have spark. Might need a helper in the seat and clutch in.
No spark could mean the solid state coil is dying, but I haven't had one do that, yet. Wouldn't hurt to try a new plug.
If spark is OK, then you will need to check the fuel filter, fuel line, any screen that might be in the tank, and fuel pump output if it has one. After that, need to check for crud in the carburetor.
Probably a few other things, but this will get you started. Has it been running this spring and this just occurred, or first started after winter storage?
tommyhawk