From 8fe134982ebe9c8c91a45657212e5dc662aee0b4 Mon Sep 17 00:00:00 2001
From: Peter Trost
Date: Sun, 2 Aug 2026 13:04:13 +0200
Subject: [PATCH] ci: run the test suite on pull requests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The 18 vitest files never ran in CI. pnpm build only exercises the configs
that exist in-repo today, so it misses every parser guard and error path —
deleting the validateCommandName call from parseCliBlock leaves the build
green while 5 cli-block tests fail.
Placed before Build to fail fast: 0.7s for 139 tests, no secrets, no network,
so it runs on fork PRs too.
Co-Authored-By: Claude Opus 5 (1M context)
Claude-Session: https://claude.ai/code/session_01LpsYRXz97rxeTQwF1my87D
---
.github/workflows/build.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bbd07bdb..4b77966d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,6 +30,9 @@ jobs:
- name: Install dependencies
run: pnpm install
+ - name: Test
+ run: pnpm test
+
- name: Build
run: pnpm build