Skip to content

Commit 9647fa8

Browse files
committed
chore: skip building token-distribution if api key not set
Signed-off-by: Tomás Migone <[email protected]>
1 parent fac2515 commit 9647fa8

File tree

1 file changed

+5
-0
lines changed
  • packages/token-distribution/scripts

1 file changed

+5
-0
lines changed

packages/token-distribution/scripts/build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22

33
set -eo pipefail
44

5+
if [ -z "${STUDIO_API_KEY}" ]; then
6+
echo "Warning: STUDIO_API_KEY is not set. Skipping build steps. Some functionality may be limited."
7+
exit 1
8+
fi
9+
510
yarn graphclient build
611
yarn run compile

0 commit comments

Comments
 (0)