BOSTON (AP) -- Brett Gardner homered and Stephen Drew hit a two-run double as the New York Yankees pieced together just enough offense to overcome Rick Porcello's career-high 13 strikeouts and beat the Boston Red Sox 3-1 on Tuesday night.

Brett Gardner of the New York Yankees connects for a home run at Fenway Park in Boston. (Jim Rogash, Getty Images)

Porcello (6-12) scattered five hits over eight innings and the only earned run he allowed was Gardner's solo homer in the eighth. He topped his previous high for strikeouts by two, but the Red Sox gave him little support at the plate, stranding seven runners.

Michael Pineda (10-8) pitched six strong innings for the Yankees, scattering four hits and striking out seven and Andrew Miller picked up his 29th save as New York evened the series at one game apiece.

Boston had a promising rally going in the eighth that quickly fizzled on an attempted double steal.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)