Skip to content

Implement Validation for Filtering #39

Implement Validation for Filtering

Implement Validation for Filtering #39

Triggered via pull request October 26, 2024 00:02
@gpalmer27gpalmer27
synchronize #86
validation
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
typecheck
@cooper/db#typecheck: command (/home/runner/work/cooper/cooper/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Process completed with exit code 2.
lint: packages/db/src/schema/roles.ts#L6
'WorkEnvironment' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/db/src/schema/roles.ts#L6
'WorkTerm' is defined but never used. Allowed unused vars must match /^_/u
lint: packages/ui/src/hooks/use-toast.ts#L18
'actionTypes' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
lint: packages/ui/src/hooks/use-toast.ts#L129
Array type using 'Array<T>' is forbidden. Use 'T[]' instead
lint: apps/web/src/app/(pages)/(dashboard)/roles/page.tsx#L16
'ErrorBanner' is defined but never used. Allowed unused vars must match /^_/u
lint
@cooper/db#build: command (/home/runner/work/cooper/cooper/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
lint
@cooper/db#lint: command (/home/runner/work/cooper/cooper/packages/db) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint
@cooper/ui#lint: command (/home/runner/work/cooper/cooper/packages/ui) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint
@cooper/web#lint: command (/home/runner/work/cooper/cooper/apps/web) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint
Process completed with exit code 2.
lint: apps/web/src/app/(pages)/(dashboard)/roles/page.tsx#L6
Imports "ReviewType", "WorkEnvironmentType" and "WorkTermType" are only used as type
lint: apps/web/src/app/(pages)/(dashboard)/roles/page.tsx#L64
React Hook useEffect has missing dependencies: 'validationResult.error.issues' and 'validationResult.success'. Either include them or remove the dependency array