A former North Yorkshire pub is set to go under the hammer for just under £300,000.