Install latest npm in CI
This commit is contained in:
parent
5ccc909f2f
commit
558a612d37
2 changed files with 10 additions and 1 deletions
|
@ -45,6 +45,9 @@ def main():
|
|||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
# CI's npm is not reliable.
|
||||
execute(['npm', 'install', 'npm'])
|
||||
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'node_modules'))
|
||||
rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue