Skip to content
Eric Blanchard

Engineering

This site is its own case study. Every number on this page was produced by the pipeline run that built and deployed it, so it can only be as good as the code actually is.

Measured November 23, 2026 on commit bee3655. See the pipeline run.

Measurements

Lighthouse performance
99
Budget: 95 or the build fails
Lighthouse accessibility
100
Budget: 100
JavaScript on the home page
139 kB
Compressed, measured in a real browser. Budget: 150 kB
Accessibility violations
0
Across 10 pages, light and dark
Unit and component tests
142
In 26 files
Line coverage
100%
Branches 94%, functions 96%
Storybook stories
43
Covering 15 components
End-to-end checks
55
Playwright, Chromium

The pipeline

GitHub Actions runs these steps in order on every pull request, on every merge, and once a week on its own so the site keeps getting patched while I am busy elsewhere.

  1. Pull request

    Every change arrives as a pull request, including the automated dependency updates.

    Tools: GitHub

  2. Static checks

    Strict TypeScript, ESLint and Prettier. Nothing else runs until these pass.

    Tools: TypeScript, ESLint

  3. Unit and component tests

    Logic is tested in isolation; components are tested by rendering their stories in a real browser.

    Tools: Vitest, Testing Library

    142 tests, 100% line coverage

  4. Storybook

    Each component is documented with its states, and every story doubles as an accessibility test.

    Tools: Storybook, axe

    43 stories

  5. End to end

    Every page is loaded in Chromium, navigated, and scanned for accessibility problems.

    Tools: Playwright, axe

    55 checks, 0 accessibility violations

  6. Performance budget

    Lighthouse runs against the production build, with its CPU slowdown calibrated to the machine so every run simulates the same phone. A score below budget fails the pipeline.

    Tools: Lighthouse

    Performance 99, accessibility 100

  7. Deploy

    Pull requests get a preview URL. Merges to main go to production on Netlify.

    Tools: GitHub Actions, Netlify

    Live build bee3655

  8. Stay current

    Dependabot proposes updates weekly. Patches and minor versions merge themselves once everything above is green.

    Tools: Dependabot, CodeQL

AI as a tool

I use Claude every day, including to build this site. Here is how it fits into the way I work.

  • Rules live in the repository

    AGENTS.md gives every AI session the same conventions a new teammate would get: how to test, what not to touch, where things go.

  • Big jobs run while I'm away

    I hand larger pieces of work to Claude from the desktop app and check in from my phone. It works through them in the background, and I read the results and steer it from wherever I am.

  • Scheduled tasks keep watch

    Recurring tasks track what I would otherwise have to remember to check: government funding programs, competitors, and new energy proposals. The Ontario grid map's list of planned projects is updated this way every week.

Choices for speed

  • Every page is prerendered. The root layout requires static output, so the build fails if anything starts rendering per request.
  • Server Components by default. The hero map is generated on the server as SVG and animated with CSS, so it costs no JavaScript.
  • Two self-hosted variable fonts, preloaded, with no third-party requests.
  • Light and dark themes follow your system setting through CSS alone.
  • Security headers, including a content security policy, are set on every response.