From 6737d14ae8e480ad23f1f89c40b9f5837ff38061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Sun, 8 Nov 2026 22:55:58 +0100 Subject: [PATCH] ci: run npm run check in the Pages workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit astro check now works after a clean install (#24), so run it on every pull request and push. It caught three type errors from #22 the first time it ran; this keeps such errors from reaching main unnoticed. It runs after the build because the pages import assets that the build's sync step copies in from the app repos. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- .github/workflows/pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index bafa63c..8eb906a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -56,6 +56,11 @@ jobs: - name: Build run: npm run build + # After the build, because the pages import assets the build's sync step + # copies in from the app repos. + - name: Type check + run: npm run check + - name: Configure Pages if: github.event_name != 'pull_request' uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0