Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.25 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.25 KB

healthyweb.org

This is the source code for healthyweb.org. It is built using Astro, Svelte, and TypeScript.

This site is a Workers project hosted on Cloudflare.

It works in conjunction with the healthyweb worker, a separate Workers project that the site calls through a service binding.

The worker uses Puppeteer to load the page and find the jQuery version.

Development

  1. Install dependencies
npm install
  1. Start the healthyweb worker with npm start in its own checkout. In development, the site sends checks to it at http://localhost:8787 instead of using the service binding.

  2. Start the development server

npm start

Deployment

Every push to main is tested, built, and deployed to Cloudflare by the deploy workflow.

The latest jQuery version that sites are compared against is LATEST_JQUERY_VERSION in wrangler.toml.