Repository navigation
ci: run npm run check in the Pages workflow - #26
Conversation
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 <[email protected]> Signed-off-by: Thomas Müller <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Adds a Type check step (
npm run check) to the Pages workflow, soastro checkruns on every pull request, push and nightly build. It's now possible because #24 added@astrojs/checkandtypescript. When the check first ran, it found three type errors from #22; this step keeps errors like that from reachingmainunnoticed.The step runs after Build because the pages import assets that the build's sync step copies in from the lagebuch and helfer repos. A failing check also stops the deploy, since the upload step comes after it.
Test plan
npm run check→ 0 errors locally onmain🤖 Generated with Claude Code
Summary by CodeRabbit