aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-09 15:40:48 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-09 15:40:48 -0700
commitae369de3b81cf16db74f68e4e260ebbd291a65ba (patch)
tree09ecf650719edd4ab7a30af0c02f0ddbc45ae4ed /tools
parent4c351aafedb51d5a0a02eb603af8e9a6a499453f (diff)
Added node pre-build steps to run_tests.py
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index a3bed4ef87..e75ac0724f 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 []