Using the CLI in a CI/CD pipeline We’ve optimized the Checkly CLI to work in any CI/CD workflow. Here are the basics you need to know that will come in handy when adapting the examples we give you to your own, specific setup. For authentication, make sure to set the CHECKLY_API_KEY and CHECKLY_ACCOUNT_ID parameters as environment variables in your CI/CD platform. Set the reporter you want to use for the test command using the --reporter flag, i.e. --reporter=dot. To store a test session wit...| www.checklyhq.com
Scenarios where a user provides credentials to get access to a web app are extremely common. They are also a great candidate for a browser check as these site transactions tend to be very crucial. Using Vercel deployment protection? Read this section on how to make this work with Checkly. To get started, check out the video below 👇 Username / password login The code snippet below shows how you can log into GitHub.| www.checklyhq.com
Here are some examples on how to address common authentication use cases with setup scripts. Using Vercel deployment protection? Read this section on how to make this work with Checkly. Fetch an external token TypeScript import axios from 'axios' // use 'await' on an axios HTTP get to fetch a token from a location const { data } = await axios.get('https://example.com/api/token') // add the token as a query parameters request.queryParameters['token'] = data.token JavaScript const axios = requi...| www.checklyhq.com
Integrate Checkly with Vercel for app development and deployment to benefit from automated browser checks and production deployment testing.| www.checklyhq.com