Skip to content

Type-check and test the site in CI, add Dependabot - #6

Merged
silviot merged 1 commit into
mainfrom
ci/run-tests-and-check
Sep 28, 2026
Merged

silviot merged 1 commit into
mainfrom
ci/run-tests-and-check

Conversation

@silviot

@silviot silviot commented Sep 28, 2026

Copy link
Copy Markdown
Member

CI now runs the viewer tests and the type check before every build. It used to only build, so the 210 viewer tests (including the ones #4 added) and svelte-check ran only when someone remembered to run them locally.

  • Type check (npm run check) and viewer tests (npm run test:viewer) run after npm ci and before the build. On main, a failure in either stops the deploy.
  • Dependabot opens one grouped PR a month for GitHub Actions updates, so deprecations like the Node 20 one fixed in Move the site workflow to Node 24 actions #5 show up as PRs instead of CI warnings.
  • site/README.md now describes what CI runs.
Current state of the checks
  • Viewer tests: 9 files, 210 passed, about 9 s.
  • svelte-check: 0 errors, 3 warnings. All three warnings are in vendored viewer code (two a11y warnings in MarkingRail.svelte, one unused export in MeetingView.svelte), and warnings don't fail svelte-check. Fixing them belongs upstream in gocassini, not in this repo's vendored copy.
  • The job keeps the name build, so any required status check still matches.

🤖 Generated with Claude Code

The site workflow only built the site. The viewer's Vitest suites
(npm run test:viewer, 210 tests including the ones added in #4) and
svelte-check (npm run check) ran only when someone remembered to run
them locally. Both now run before the build, so a failure blocks the
deploy. svelte-check currently reports 0 errors and 3 warnings in
vendored viewer code; warnings don't fail it.

Dependabot now opens a monthly grouped PR for GitHub Actions updates,
so runtime deprecations like the Node 20 one fixed in #5 arrive as PRs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@silviot
silviot merged commit 867f68c into main Sep 28, 2026
1 check passed
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