NEW YORK (CBSNewYork/AP) — Gary Sánchez and Gleyber Torres each homered for the third game in a row, providing a pair of two-run shots that sent the New York Yankees past the skidding Houston Astros 4-1 on Friday night for their seventh straight victory.

Aaron Judge was hitless in his return to the lineup — batting leadoff — but James Paxton (5-3) won consecutive starts for the first time with the Yankees, who matched their longest winning streak of the year.

Houston wasted a strong start from Brad Peacock (6-5) and has dropped six in a row for the first time since losing seven straight in June 2016.

Paxton went five-plus innings before handing a slim lead to a shutdown bullpen that delivered again for the AL East leaders. The lefty looked dominant at times, striking out seven batters, but also labored to get out of multiple jams after giving up five hits and three walks.

Adam Ottavino entered after a leadoff double in the sixth and threw 1 1/3 hitless innings with two strikeouts. Zack Britton walked two in the eighth but escaped when Torres started a slick double play with a glove flip from second base to end the inning.

Aroldis Chapman got three outs for his 21st save in 23 attempts. He was checked by a trainer after slipping to the turf while fielding Jose Altuve’s bunt single with two outs in the ninth. Then he threw a called third strike past rookie bopper Yordan Álvarez with two aboard to end it.

Houston went 1-for-13 with runners in scoring position and stranded 12 in all.

Sánchez launched a 481-foot shot deep into the elevated bleachers above and beyond the bullpen in left-center. New York has homered in 24 consecutive games, one short of the franchise record set in 1941. As for “the Kraken,” he’s now hit at least six home runs in each month this season.

Brett Gardner doubled off reliever Hector Rondon in the seventh and Torres sent an opposite-field drive just over a leaping Josh Reddick at the auxiliary scoreboard in right-center.

Edwin Encarnación also played some fine defense for the Yankees at first base. The 6-foot-7 Judge, batting leadoff for the first time in his big league career, went 0 for 4 with two strikeouts in his first game since straining his left oblique on a swing April 20.

Altuve had three infield singles and a walk for the Astros, who still have a comfortable lead in the AL West. Peacock struck out 11 and walked none over six innings in his first start against the Yankees. He gave up two runs and five hits.

TRAINER’S ROOM:

RHP Domingo Germán (left hip flexor strain) threw a bullpen and is scheduled for another one Monday. He will likely need a rehab outing but could rejoin the big league rotation before the All-Star break.

CF Aaron Hicks was out of the starting lineup for the second consecutive game because of inflammation in his sore right shoulder. He received a cortisone shot Thursday and took pregame batting practice with teammates on the field Friday. Hicks, however, entered on defense in the fourth when LF Cameron Maybin exited with a strained left calf. Maybin was scheduled for an MRI and is headed to the injured list. “It’ll be a while,” manager Aaron Boone said. Maybin appeared to get hurt diving back to first on a pickoff attempt.

Regular leadoff man DJ LeMahieu and 1B Luke Voit were rested.

UP NEXT:

Astros LHP Wade Miley (6-4, 3.30 ERA) starts Saturday night against RHP Masahiro Tanaka (5-5, 3.23), who is coming off a two-hitter with 10 strikeouts Monday in a 3-0 win over Tampa Bay, his fourth major league shutout. Tanaka is 0-2 with a 7.36 ERA in six starts versus Houston.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)