diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-21 05:19:16 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-21 05:19:16 +0800 |
commit | f5db4be52140e55045d6dc193065d83edeb85816 (patch) | |
tree | 90a39062fe691cb543a5e63a44d6995c9622d4b3 | |
parent | d79c754a5bbc911856909b5d20079423e5e9c13f (diff) | |
download | dexon-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
-rw-r--r-- | packages/monorepo-scripts/src/prepublish_checks.ts | 6 |
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`); |