Skip to content

ci: fix typedoc docs workflow - #603

Open
piolpro wants to merge 2 commits into
getAlby:masterfrom
piolpro:fix/docs-workflow-node-22
Open

piolpro wants to merge 2 commits into
getAlby:masterfrom
piolpro:fix/docs-workflow-node-22

Conversation

@piolpro

@piolpro piolpro commented Nov 22, 2026 •

Copy link
Copy Markdown

The docs job fails at yarn install because it runs on Node 20 while package.json requires Node >=22. Use Node 22, matching ci.yml.

Also add typedoc as a devDependency so npx uses the pinned version with the repo's TypeScript 5.x instead of downloading the latest typedoc, which pulls in TypeScript 6 and fails on the current tsconfig.

Summary by CodeRabbit

  • Documentation
    • Documentation builds now use an updated Node.js version and a fixed TypeDoc release, providing a more consistent build environment.

The docs job fails at yarn install because it runs on Node 20 while
package.json requires Node >=22. Use Node 22, matching ci.yml.

Also add typedoc as a devDependency so npx uses the pinned version with the
repo's TypeScript 5.x instead of downloading the latest typedoc, which
pulls in TypeScript 6 and fails on the current tsconfig.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The documentation workflow now uses Node.js 22 and pins TypeDoc to version 0.28.17.

Changes: Documentation Toolchain

Layer / File(s) Summary
Update documentation tooling
.github/workflows/docs.yml
The workflow uses Node.js 22 and pins TypeDoc to version 0.28.17.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: im-adithya, rolznz

Merge Risk: Minimal · up to 25b97

This updates the documentation workflow to use Node 22 and a pinned TypeDoc version so the docs build can run again. The change is small, confined to CI and easy to revert, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: fix typedoc docs workflow" matches the changeset. The docs workflow changes to Node.js 22 from Node.js 20 and pins TypeDoc to 0.28.17, which addresses the TypeDoc docs workflow fix desc…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: fix typedoc docs workflow" matches the changeset. The docs workflow changes to Node.js 22 from Node.js 20 and pins TypeDoc to 0.28.17, which addresses the TypeDoc docs workflow fix described in the objectives. The title is short, specific, and names the primary area changed.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 80d775ee-eeed-4eae-bc02-8691cfbc0bde
Commits

Reviewing files that changed from the base of the PR and between 6dfd7fb and 25b975f.

Files selected for processing: 1

  • .github/workflows/docs.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@rolznz

rolznz commented Nov 23, 2026

Copy link
Copy Markdown
Member

Thanks for the pull request. I don't think we need to add typedoc as a dev dependency, especially if we still use npx.

Latest typedoc pulls in TypeScript 6, which fails on the current tsconfig.
typedoc 0.28.17 is the last release whose TypeScript peer range stops at 5.9.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

3 participants