mirror of
https://github.com/harivansh-afk/Saas-Teamspace-2.git
synced 2026-04-21 11:04:42 +00:00
initial commit
This commit is contained in:
commit
9963e01acc
158 changed files with 48198 additions and 0 deletions
48
checkly.config.ts
Normal file
48
checkly.config.ts
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
import { defineConfig } from 'checkly';
|
||||
import { EmailAlertChannel, Frequency } from 'checkly/constructs';
|
||||
|
||||
const sendDefaults = {
|
||||
sendFailure: true,
|
||||
sendRecovery: true,
|
||||
sendDegraded: true,
|
||||
};
|
||||
|
||||
// FIXME: Add your production URL
|
||||
const productionURL = 'https://react-saas.com';
|
||||
|
||||
const emailChannel = new EmailAlertChannel('email-channel-1', {
|
||||
// FIXME: add your own email address, Checkly will send you an email notification if a check fails
|
||||
address: 'contact@creativedesignsguru.com',
|
||||
...sendDefaults,
|
||||
});
|
||||
|
||||
export const config = defineConfig({
|
||||
// FIXME: Add your own project name, logical ID, and repository URL
|
||||
projectName: 'SaaS Boilerplate',
|
||||
logicalId: 'saas-boilerplate',
|
||||
repoUrl: 'https://github.com/ixartz/Next-js-Boilerplate',
|
||||
checks: {
|
||||
locations: ['us-east-1', 'eu-west-1'],
|
||||
tags: ['website'],
|
||||
runtimeId: '2024.02',
|
||||
browserChecks: {
|
||||
frequency: Frequency.EVERY_24H,
|
||||
testMatch: '**/tests/e2e/**/*.check.e2e.ts',
|
||||
alertChannels: [emailChannel],
|
||||
},
|
||||
playwrightConfig: {
|
||||
use: {
|
||||
baseURL: process.env.ENVIRONMENT_URL || productionURL,
|
||||
extraHTTPHeaders: {
|
||||
'x-vercel-protection-bypass': process.env.VERCEL_BYPASS_TOKEN,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
cli: {
|
||||
runLocation: 'eu-west-1',
|
||||
reporters: ['list'],
|
||||
},
|
||||
});
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue