Skip to content

wip: upgrade to app router #2448

wip: upgrade to app router

wip: upgrade to app router #2448

Triggered via pull request January 19, 2025 17:02
Status Failure
Total duration 1m 7s
Artifacts

site_lint.yml

on: pull_request
Lint on node 20.x and ubuntu-latest
57s
Lint on node 20.x and ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint on node 20.x and ubuntu-latest: src/_pages/errors/[errorCode].tsx#L3
Cannot find module 'components/MDX/MDXComponentsWrapper' or its corresponding type declarations.
Lint on node 20.x and ubuntu-latest: src/_pages/errors/[errorCode].tsx#L91
Type '({ params, }: GetStaticPropsContext<ParsedUrlQuery, PreviewData>) => Promise<{ notFound: true; props?: undefined; } | { props: { content: Element; toc: any; meta: any; errorCode: string | null; errorMessage: string | null; }; notFound?: undefined; }>' is not assignable to type 'GetStaticProps<ErrorDecoderProps>'.
Lint on node 20.x and ubuntu-latest: src/app/layout.tsx#L13
Binding element 'params' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/app/layout.tsx#L165
Binding element 'children' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/components/Analytics.tsx#L17
Not all code paths return a value.
Lint on node 20.x and ubuntu-latest: src/components/Layout/Page.tsx#L14
Module '"components/Seo"' has no exported member 'Seo'.
Lint on node 20.x and ubuntu-latest: src/hooks/usePendingRoute.ts#L10
Cannot find name 'useRouter'.
Lint on node 20.x and ubuntu-latest: src/utils/compileMDX.tsx#L2
Could not find a declaration file for module 'metro-cache'. '/home/runner/work/react.dev/react.dev/node_modules/metro-cache/src/index.js' implicitly has an 'any' type.
Lint on node 20.x and ubuntu-latest: src/utils/compileMDX.tsx#L85
Type 'any[]' is missing the following properties from type 'ReactElement<any, any>': type, props, key
Lint on node 20.x and ubuntu-latest
Process completed with exit code 1.
Lint on node 20.x and ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636