As the nation’s largest retailer and private employer, Walmart is often seen as a bellwether for the U.S. economy.