Skip to content

feat: new create pages to use new defineRouter #5128

feat: new create pages to use new defineRouter

feat: new create pages to use new defineRouter #5128

Triggered via pull request October 24, 2024 04:03
Status Failure
Total duration 50s
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#L702
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L708
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L709
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L715
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L731
Cannot find name 'id'.
test: packages/waku/src/router/create-pages.ts#L743
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/