From 11f75e12d9879e98b19c66d1dc3a079b4172554c Mon Sep 17 00:00:00 2001 From: Esther Kim <44627152+estherkim@users.noreply.github.com> Date: Thu, 21 Feb 2019 11:57:27 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Update=20packages=20for=20some?= =?UTF-8?q?=20Travis=20jobs=20(#20991)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-system/pr-check/dist.js | 1 + build-system/pr-check/local-tests.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/build-system/pr-check/dist.js b/build-system/pr-check/dist.js index 53b7cc77ed99..30256467c06d 100644 --- a/build-system/pr-check/dist.js +++ b/build-system/pr-check/dist.js @@ -38,6 +38,7 @@ function main() { const startTime = startTimer(FILENAME, FILENAME); if (!isTravisPullRequestBuild()) { + timedExecOrDie('gulp update-packages'); timedExecOrDie('gulp dist --fortesting'); uploadDistOutput(FILENAME); } else { diff --git a/build-system/pr-check/local-tests.js b/build-system/pr-check/local-tests.js index 135ffe83b4e1..ac8473ab300e 100644 --- a/build-system/pr-check/local-tests.js +++ b/build-system/pr-check/local-tests.js @@ -42,6 +42,7 @@ function main() { if (!isTravisPullRequestBuild()) { downloadBuildOutput(FILENAME); + timedExecOrDie('gulp update-packages'); timedExecOrDie('gulp test --integration --nobuild --coverage'); timedExecOrDie('gulp test --unit --nobuild --headless --coverage'); timedExecOrDie('gulp test --dev_dashboard --nobuild'); @@ -63,6 +64,7 @@ function main() { return 0; } downloadBuildOutput(FILENAME); + timedExecOrDie('gulp update-packages'); if (buildTargets.has('RUNTIME') || buildTargets.has('BUILD_SYSTEM') || buildTargets.has('UNIT_TEST')) {