From ae369de3b81cf16db74f68e4e260ebbd291a65ba Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 9 Oct 2015 15:40:48 -0700 Subject: [PATCH] Added node pre-build steps to run_tests.py --- tools/run_tests/run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index a3bed4ef879..e75ac0724f7 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -191,7 +191,8 @@ class NodeLanguage(object): environ=_FORCE_ENVIRON_FOR_WRAPPERS)] def pre_build_steps(self): - return [] + # Default to 1 week cache expiration + return [['npm', 'update', '--cache-min', '604800']] def make_targets(self): return []