Skip to content

feat: new create pages to use new defineRouter #5127

feat: new create pages to use new defineRouter

feat: new create pages to use new defineRouter #5127

Triggered via pull request October 24, 2024 03:55
Status Failure
Total duration 54s
Artifacts

ci.yml

on: pull_request
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 2 warnings
build
Type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<FunctionComponent<any> | FunctionComponent<{ children: ReactNode; }> | (({ children }: { children: ReactNode; }) => DetailedReactHTMLElement<HTMLAttributes<HTMLElement>, HTMLElement>) | ((props: Record<string, unknown>) => FunctionComponentElement<any>) | null>' is not assignable to type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<Record<string, ReactNode> | null>'.
build
'path' is declared but its value is never read.
build
Cannot find name 'id'.
build
Cannot find name 'id'.
build
Cannot find name 'id'.
build
Cannot find name 'id'.
build
Cannot find name 'id'.
build
Cannot find name 'id'.
build
Process completed with exit code 2.
test: packages/waku/src/router/create-pages.ts#L674
Type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<FunctionComponent<any> | FunctionComponent<{ children: ReactNode; }> | (({ children }: { children: ReactNode; }) => DetailedReactHTMLElement<HTMLAttributes<HTMLElement>, HTMLElement>) | ((props: Record<string, unknown>) => FunctionComponentElement<any>) | null>' is not assignable to type '(path: string, options: { query?: string; skip?: string[]; }) => Promise<Record<string, ReactNode> | null>'.
test: packages/waku/src/router/create-pages.ts#L674
'path' is declared but its value is never read.
test: packages/waku/src/router/create-pages.ts#L698
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L704
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L705
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L711
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L727
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L739
Cannot find name 'id'.
test
Process completed with exit code 2.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/