Skip to content

Commit 5eeb8ba

Browse files
committed
git fetch --unshallow now only runs on CI
1 parent 703169c commit 5eeb8ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.build/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ echo "Installing node version $nodeVersion"
2323
nvm install $nodeVersion
2424
echo "npm ci"
2525
npm ci
26+
# Unshallow on CI system for complete blame info
27+
if [[ "$CI" == "true" ]]; then
2628
echo "git fetch --unshallow"
2729
git fetch --unshallow
30+
fi
2831
echo "npm run compile"
2932
npm run compile
3033
echo "npm run coverage"

0 commit comments

Comments
 (0)