[WIP] Update action run steps for job 60853210113#87
Merged
hotlong merged 2 commits intocopilot/update-documentation-site-to-fumadocsfrom Jan 20, 2026
Merged
Conversation
Update @types/react and @types/react-dom to version 19.x in packages/ui and apps/web to resolve TypeScript type incompatibilities with React 19. This fixes the CI build errors where `ReactNode` type conflicts occurred between React 18 and React 19 type definitions. The monorepo now uses consistent React 19 types across all packages. Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Contributor
|
@copilot 继续 |
Contributor
Author
d468af2
into
copilot/update-documentation-site-to-fumadocs
6 of 7 checks passed
Copilot stopped work on behalf of
huangyiirene due to an error
January 20, 2026 06:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix React 19 Type Compatibility Issues in CI
Problem
The CI build is failing with TypeScript errors due to React 19 type incompatibilities in
packages/ui. Theapps/sitepackage was upgraded to React 19 and @types/react@19, butpackages/uistill uses React 18 types, causing type conflicts during the monorepo build.Root Cause
The error
Type 'bigint' is not assignable to type 'ReactNode'occurs because:ReactNodetype includesbigintas a valid typepackages/uihaven't updated to React 19 types yetapps/siteand React 18 types inpackages/uiSolution Plan
packages/ui/package.jsonto use React 19 compatible types@types/reactfrom ^18.3.27 to ^19.0.11@types/react-domfrom ^18.3.7 to ^19.0.5>=18for backward compatibilityapps/web/package.jsonto use React 19 compatible types@types/reactfrom ^18.3.18 to ^19.0.11@types/react-domfrom ^18.3.5 to ^19.0.5skipLibCheck: trueto avoid third-party type conflicts (already enabled)Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.