Skip to content

Commit e67d2f3

Browse files
authored
Merge branch 'main' into cap-steps
2 parents f4fd967 + b714974 commit e67d2f3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.buildkite/mac/entrypoint

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
set -e
44

5-
BAZEL="bazel --output_user_root=~/bazel --output_base=~/bazel/anki"
5+
STATE=$(pwd)/../state/anki-ci
6+
mkdir -p $STATE
7+
BAZEL="bazel --output_user_root=$STATE/bazel --output_base=$STATE/bazel/anki"
68
BUILDARGS="--config=ci --experimental_convenience_symlinks=ignore"
79

810
echo "+++ Building and testing"
911

1012
# move existing node_modules into tree
11-
test -e ~/node_modules && mv ~/node_modules .
13+
test -e $STATE/node_modules && mv $STATE/node_modules .
1214

1315
$BAZEL test $BUILDARGS ...
1416

1517
echo "--- Cleanup"
1618
# if tests succeed, back up node_modules folder
17-
mv node_modules ~/
19+
mv node_modules $STATE/

0 commit comments

Comments
 (0)