aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-21 05:19:16 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-21 05:19:16 +0800
commitf5db4be52140e55045d6dc193065d83edeb85816 (patch)
tree90a39062fe691cb543a5e63a44d6995c9622d4b3 /packages
parentd79c754a5bbc911856909b5d20079423e5e9c13f (diff)
downloaddexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar.gz
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar.bz2
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar.lz
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar.xz
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.tar.zst
dexon-sol-tools-f5db4be52140e55045d6dc193065d83edeb85816.zip
Ensure we publish Instant with rollbar settings
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/prepublish_checks.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/prepublish_checks.ts b/packages/monorepo-scripts/src/prepublish_checks.ts
index fc550cf3a..c1e2b702f 100644
--- a/packages/monorepo-scripts/src/prepublish_checks.ts
+++ b/packages/monorepo-scripts/src/prepublish_checks.ts
@@ -186,7 +186,11 @@ async function checkPublishRequiredSetupAsync(): Promise<void> {
const checkRequiredEnvVariables = () => {
utils.log('Checking required environment variables...');
- const requiredEnvVars = ['INSTANT_HEAP_ANALYTICS_ID_PRODUCTION'];
+ const requiredEnvVars = [
+ 'INSTANT_HEAP_ANALYTICS_ID_PRODUCTION',
+ 'INSTANT_ROLLBAR_CLIENT_TOKEN',
+ 'INSTANT_ROLLBAR_PUBLISH_TOKEN',
+ ];
requiredEnvVars.forEach(requiredEnvVarName => {
if (_.isUndefined(process.env[requiredEnvVarName])) {
throw new Error(`Must have ${requiredEnvVarName} set`);