You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/07/10 10:50:49 UTC

[PR] chore: make astro check runnable and green in CI [magpie-site]

potiuk opened a new pull request, #80:
URL: https://github.com/apache/magpie-site/pull/80

   ## What & why
   
   The CI **Type check** step runs `npx astro check`, but neither `@astrojs/check`
   nor `typescript` was in the project — so the step errored out with a
   "packages are required" message and never actually type-checked. Because the
   step is `continue-on-error: true`, this went unnoticed (and showed up as a
   scary ERROR line in build logs).
   
   ## Changes
   
   - Add devDeps: **`@astrojs/check`**, **`typescript`**, **`@types/node`**.
   - Enabling the check surfaced 6 pre-existing type errors; fix all of them —
     all type-only, no runtime change:
     - `@types/node` resolves `process` (`astro.config.mjs`) and `NodeJS.Timeout`
       (`particles.tsx`).
     - Add the internal `_order?: number` field to the `TreeNode` interface in
       `DocsNavTree.astro` (it's set during `DocsLayout`'s finalize pass).
     - Gate the tools vendor badge on `t.vendor` being present, narrowing the
       `string | null` tool vendor to the `string` that `VendorIcon` requires.
   
   `astro check` now reports **0 errors**, and `astro build` still passes.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore: make astro check runnable and green in CI [magpie-site]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #80:
URL: https://github.com/apache/magpie-site/pull/80


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@magpie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org