generated from ixartz/Next-js-Boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkly.config.ts
38 lines (35 loc) · 1.07 KB
/
checkly.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig } from 'checkly';
import { EmailAlertChannel, Frequency } from 'checkly/constructs';
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: '[email protected]',
sendDegraded: true,
});
export const config = defineConfig({
projectName: 'Next.js Boilerplate',
logicalId: 'nextjs-boilerplate',
repoUrl: 'https://github.com/ixartz/Next-js-Boilerplate',
checks: {
locations: ['us-east-1', 'eu-west-1'],
tags: ['website'],
runtimeId: '2023.09',
environmentVariables: [
{
key: 'PRODUCTION_URL',
// FIXME: Add your own production URL
value: 'https://google.com',
},
],
browserChecks: {
frequency: Frequency.EVERY_24H,
testMatch: '**/tests/e2e/**/*.check.spec.ts',
alertChannels: [emailChannel],
},
},
cli: {
runLocation: 'eu-west-1',
reporters: ['list'],
},
});
export default config;