[build] Check out submodules on CI

This commit is contained in:
Jason Wray
2019-10-21 13:21:57 -07:00
parent dfe3ae235d
commit 199505113a

View File

@@ -51,6 +51,11 @@ commands:
- run:
name: Prepare environment
command: touch "$BASH_ENV" && ./scripts/environment.js | tee -a "$BASH_ENV"
prepare-submodules:
steps:
- run:
name: Prepare submodules
command: git submodule sync && git submodule update --init --recursive
prepare-ccache:
steps:
- run:
@@ -124,6 +129,7 @@ commands:
default: true
steps:
- checkout
- prepare-submodules
- when:
condition: << parameters.node_modules >>
steps: [ restore-node_modules-cache, npm-install ]