PITTSBURGH — Tommy Pham, Matt Carpenter and Paul DeJong hit home runs, three of St. Louis’ 13 hits Friday night, as the Cardinals built an eight-run lead and held on to beat the Pittsburgh Pirates 11-10 at PNC Park.