Deploy Checkly browser checks as code using the Checkly CLI with TypeScript and GitHub Actions

domain: checklyhq.com/docs · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install the Checkly CLI: npm install --save-dev checkly; initialize the project with npx checkly init to generate a checkly.config.ts and example check files
  2. Define a BrowserCheck in TypeScript using the @checkly/cli package, referencing a Playwright test script in the playwrightScript field
  3. Set alert channels in the config by referencing EmailAlertChannel or SlackAlertChannel constructs
  4. Run npx checkly test to execute checks against the Checkly cloud without deploying; dry-run validates scripts before committing
  5. Add a GitHub Actions workflow step that runs npx checkly deploy --force on merge to main, passing CHECKLY_API_KEY and CHECKLY_ACCOUNT_ID as secrets
  6. Verify deployed checks in the Checkly dashboard or via GET /v1/checks using the Checkly Management API

Known gotchas

Related routes

Define and deploy Checkly synthetic monitoring checks as code using the Checkly CLI and TypeScript
checklyhq.com · 6 steps · unrated
Create Checkly synthetic API checks as code using the Checkly CLI
grafana.com · 6 steps · unrated
Approve or reject a GitHub Actions deployment via the custom deployment protection rule review API
docs.github.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans