Skip to content

Discovery: Cache revalidation #259

Discovery: Cache revalidation

Discovery: Cache revalidation #259

Triggered via pull request December 12, 2024 10:02
Status Failure
Total duration 1m 31s
Artifacts

type-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: __tests__/revalidating-cache.test.ts#L25
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L40
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L60
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L76
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L94
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L112
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L132
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L149
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build: __tests__/revalidating-cache.test.ts#L166
Type 'typeof import("/home/runner/work/dpl-go/dpl-go/app/cache/revalidate/route")' is not assignable to type 'Omit<any, string | number | symbol> & { [x: string]: ((req: NextRequest, context?: any) => any) | undefined; }'.
build
Process completed with exit code 2.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636