ci: add yarn cache for material-unit tests job (#29378)

PR Close #29378
This commit is contained in:
Paul Gschwendtner
2019-03-18 19:25:19 +01:00
committed by Matias Niemelä
parent 067657c1e9
commit 37cc514f0f
4 changed files with 45 additions and 17 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -u -e -o pipefail
# Ensure that the temporary directory does not exist.
rm -rf ${MATERIAL_REPO_TMP_DIR}
# Clone the Material repository into the given temporary directory.
git clone --depth 1 --branch ${MATERIAL_REPO_BRANCH} ${MATERIAL_REPO_URL} \
${MATERIAL_REPO_TMP_DIR}