Skip to content

UI Revamp

UI Revamp #33

Triggered via pull request August 22, 2024 01:49
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L3
'Suspense' is defined but never used. Allowed unused vars must match /^_/u
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L35
'ProjectPageProps' is defined but never used. Allowed unused vars must match /^_/u
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L74
Unsafe assignment of an error typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L103
Unsafe member access [0] on an `error` typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L103
Unsafe member access [taskData.length - 1] on an `error` typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L103
Unsafe member access .length on an `error` typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L119
Unsafe assignment of an error typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L127
Unsafe call of an `error` type typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L127
Unsafe member access .map on an `error` typed value
lint: apps/nextjs/src/app/(dashboard)/project/[id]/(root)/_components/ChartData.tsx#L149
Unsafe assignment of an error typed value
typecheck
@amaxa/nextjs#typecheck: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Property 'data' does not exist on type 'UseTRPCSuspenseQueryResult<{ month: string; tasksFinished: number; }[], TRPCClientErrorLike<{ input: { projectId: string; }; output: { month: string; tasksFinished: number; }[]; transformer: true; errorShape: { data: { zodError: typeToFlattenedError<any, string> | null; code: "PARSE_ERROR" | ... 14 more ... | "CLIEN...'.
typecheck
Property 'data' does not exist on type 'UseTRPCSuspenseQueryResult<{ priority: "medium" | "high" | "low"; count: number; }[], TRPCClientErrorLike<{ input: { projectId: string; }; output: { priority: "medium" | "high" | "low"; count: number; }[]; transformer: true; errorShape: { data: { ...; }; message: string; code: TRPC_ERROR_CODE_NUMBER; }; }>>'.
typecheck
Property 'data' does not exist on type 'UseTRPCSuspenseQueryResult<{ status: "done" | "todo" | "in-progress" | "unable-to-complete"; count: number; }[], TRPCClientErrorLike<{ input: { projectId: string; }; output: { status: "done" | "todo" | "in-progress" | "unable-to-complete"; count: number; }[]; transformer: true; errorShape: { ...; }; }>>'.
typecheck
Parameter 'entry' implicitly has an 'any' type.
typecheck
Parameter 'index' implicitly has an 'any' type.
typecheck
Parameter 'entry' implicitly has an 'any' type.
typecheck
Parameter 'index' implicitly has an 'any' type.
typecheck
Property 'prefetch' does not exist on type 'DecorateProcedure<QueryProcedure<{ input: { projectId: string; }; output: { month: string; tasksFinished: number; }[]; }>>'.
typecheck
Property 'prefetch' does not exist on type 'DecorateProcedure<QueryProcedure<{ input: { projectId: string; }; output: { priority: "medium" | "high" | "low"; count: number; }[]; }>>'.
format
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: apps/nextjs/src/app/(home)/guides/action-guides/_components/GuideCard.tsx#L25
The 'actionGuides' array makes the dependencies of useMemo Hook (at line 65) change on every render. To fix this, wrap the initialization of 'actionGuides' in its own useMemo() Hook
lint: apps/nextjs/src/app/(home)/guides/action-guides/_components/GuideCard.tsx#L52
React Hook useMemo has a missing dependency: 'actionGuides'. Either include it or remove the dependency array
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/