Joe has given you the best way to track down the possible problem.
Please post the make/model of your fridge.
The gas valve opens with a noticeable “click” at the same time the igniter sparks. Listen for the valve opening and listen for the “tick, tick” of the igniter. If you hear neither, you have a power issue to them, likely from the control board.
If you hear the valve open but not the igniter, could be a bad igniter, bad connection, bad spark module, or bad board.
Do a little checking and report back.
Larry, Eileen, and Finley
2004 Alpine 36FDDS
Third motor home, first Alpine, no need for another.