Get a cat...seriously. I tried the ultra sonic sticks that you put in the ground, not sure if they helped.
Unfortunately a cat wouldn't be a good solution. I have two dogs.
I use this to keep cats out of my garden without hurting them: https://amzn.to/2Xl6prG
My cat did nothing to discourage moles.