Skip to content

Self-updating: Lighthouse 13 in the tests, majors apart, Node LTS - #340

Merged
rememberYou merged 2 commits into
developfrom
ci/self-updating
Oct 30, 2026
Merged

rememberYou merged 2 commits into
developfrom
ci/self-updating

Conversation

@rememberYou

Copy link
Copy Markdown
Owner

Why

Dependabot's security update jobs were failing: @lhci/cli (no release since June 2025) pins Lighthouse 12.6.1 and old tmp, uuid and extract-zip that Dependabot cannot update. Five open alerts, all in CI tooling, none in what visitors download.

Changes

  • Lighthouse 13.5.0 runs from Playwright, alone after the other tests, with the same budgets (performance ≥ 95 as the median of 3 runs; accessibility, best practices, SEO 100; CLS ≤ 0.01; ≤ 250 KB). @lhci/cli and lighthouserc.json are removed. npm audit: 0 vulnerabilities.
  • Dependabot: minor and patch updates stay grouped; each major gets its own PR, so a breaking major never blocks the rest. The TypeScript major exception is removed: it merges by itself once it passes.
  • Failures notified: a Dependabot PR that fails CI gets a comment that notifies the owner.
  • Node LTS (node-lts.yml): Dependabot does not update .nvmrc. Monthly, if a newer LTS has been LTS for 14 days, it runs CI on it (ci.yml is now also callable) and, only if CI passes, commits .nvmrc to master, deploys, and syncs develop. Node 26 became LTS on 28 October, so expected on 1 December.

Verified

19 tests pass locally (22 s), Lighthouse included. The Lighthouse test fails when a budget is broken.

@lhci/cli has had no release since June 2025. It pins Lighthouse 12.6.1
and brings old tmp, uuid and extract-zip that Dependabot cannot update:
five open security alerts, and failing security update jobs. Lighthouse
13.5.0 now runs from Playwright, alone after the other tests, with the
same budgets; the median of three runs for performance. npm audit: 0.
Minor and patch updates stay grouped; each major gets its own pull
request, so one that breaks never holds back the rest. The TypeScript
major exception goes: that update merges by itself once it passes.
A Dependabot pull request that fails CI gets a comment that notifies
the owner. node-lts.yml moves .nvmrc to the newest Node LTS, 14 days
after it became LTS, once CI passes on it.
@rememberYou
rememberYou merged commit 1d5c57f into develop Oct 30, 2026
1 check passed
@rememberYou
rememberYou deleted the ci/self-updating branch October 30, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant