From f5db4be52140e55045d6dc193065d83edeb85816 Mon Sep 17 00:00:00 2001 From: Steve Klebanoff Date: Tue, 20 Nov 2018 13:19:16 -0800 Subject: Ensure we publish Instant with rollbar settings --- packages/monorepo-scripts/src/prepublish_checks.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages') 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 { 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`); -- cgit