feat: Add CI configuration for backend tests

This commit is contained in:
Faruk AYDIN
2023-10-08 16:13:48 +02:00
parent 1dfe58ec02
commit 12c53a3d4d
4 changed files with 61 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ type AppConfig = {
paddlePublicKey: string;
licenseKey: string;
sentryDsn: string;
CI: boolean;
};
const host = process.env.HOST || 'localhost';
@@ -131,6 +132,7 @@ const appConfig: AppConfig = {
paddlePublicKey: process.env.PADDLE_PUBLIC_KEY,
licenseKey: process.env.LICENSE_KEY,
sentryDsn: process.env.SENTRY_DSN,
CI: process.env.CI === 'true',
};
if (!appConfig.encryptionKey) {