Polyurethane is manufactured in such a way that it will also expand and contract with the wood while maintaining a perfect seal and without cracking and peeling.
Install a stone or tile border directly adjacent to the tub or shower where water has the tendency to spill.