Web cleanup, container naming, infrastructure updates #15
ci-web.yml
on: pull_request
check
36s
build-and-push
0s
Annotations
18 errors and 11 warnings
|
check
Process completed with exit code 2.
|
|
check
Parameter 'item' implicitly has an 'any' type.
|
|
check
Property 'label' does not exist on type 'Readonly<ChartTooltipContentProps>'.
|
|
check
Property 'payload' does not exist on type 'Readonly<ChartTooltipContentProps>'.
|
|
check
Interface 'ChartTooltipContentProps' cannot simultaneously extend types 'HTMLAttributes<HTMLDivElement>' and 'TooltipProps<ValueType, NameType>'.
|
|
check
Module '"recharts"' has no exported member 'ValueType'.
|
|
check
Module '"recharts"' has no exported member 'NameType'.
|
|
check
Type '(value: number) => [string, string]' is not assignable to type 'Formatter<ValueType, NameType> & ((value: ValueType, name: NameType, item: TooltipPayloadEntry, index: number, payload: TooltipPayload) => ReactNode | [...])'.
|
|
check:
web/src/components/admin/tenant-org-manager/UsersManagementPage.tsx#L105
Unexpected any. Specify a different type
|
|
check:
web/src/components/admin/tenant-org-manager/BulkImportModal.tsx#L87
Unexpected any. Specify a different type
|
|
check:
web/src/components/admin/tenant-org-manager/BulkImportModal.tsx#L40
Unexpected any. Specify a different type
|
|
check:
web/src/components/admin/TenantDetails.tsx#L275
Unexpected any. Specify a different type
|
|
check:
web/src/components/admin/TenantDetails.tsx#L86
Unexpected any. Specify a different type
|
|
check:
web/src/components/admin/AdminDashboard.tsx#L11
Unexpected any. Specify a different type
|
|
check:
web/src/components/WelcomePage.tsx#L17
Unexpected any. Specify a different type
|
|
check:
web/src/components/ErrorBoundary.tsx#L16
'_' is defined but never used
|
|
check:
web/src/components/AdminPanel.tsx#L84
Unexpected any. Specify a different type
|
|
check:
web/src/components/AdminPanel.tsx#L45
'_error' is defined but never used
|
|
check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, peter-evans/create-or-update-comment@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
check:
web/src/components/sidebar.tsx#L144
The 'userRoles' logical expression could make the dependencies of useMemo Hook (at line 161) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'userRoles' in its own useMemo() Hook
|
|
check:
web/src/components/phishing-kits/usePhishingKits.ts#L33
The 'kits' logical expression could make the dependencies of useMemo Hook (at line 43) change on every render. To fix this, wrap the initialization of 'kits' in its own useMemo() Hook
|
|
check:
web/src/components/courses/userCourseList.tsx#L105
React Hook useEffect has a missing dependency: 'keycloak'. Either include it or remove the dependency array
|
|
check:
web/src/components/courses/ModuleLearner.tsx#L484
React Hook useCallback has a missing dependency: 'onSectionComplete'. Either include it or remove the dependency array. If 'onSectionComplete' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
check:
web/src/components/courses/ModuleLearner.tsx#L387
The 'sections' logical expression could make the dependencies of useMemo Hook (at line 416) change on every render. To fix this, wrap the initialization of 'sections' in its own useMemo() Hook
|
|
check:
web/src/components/content-manager/modules/ModuleDisplay.tsx#L93
React Hook useEffect has a missing dependency: 'onResultCountChange'. Either include it or remove the dependency array. If 'onResultCountChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
check:
web/src/components/content-manager/content/ContentDisplay.tsx#L109
React Hook useEffect has a missing dependency: 'selectedFolderId'. Either include it or remove the dependency array
|
|
check:
web/src/components/compliance/index.tsx#L221
React Hook useEffect has missing dependencies: 'isAdminContext', 'isContentManager', 'isOrgManager', and 'keycloak.token'. Either include them or remove the dependency array
|
|
check:
web/src/components/campaigns/new-campaign/TargetGroupSelector.tsx#L37
React Hook useCallback has an unnecessary dependency: 'keycloak.token'. Either exclude it or remove the dependency array
|
|
check:
web/src/components/campaigns/new-campaign/CampaignSummary.tsx#L236
React Hook useCallback has an unnecessary dependency: 'keycloak.token'. Either exclude it or remove the dependency array
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
web-lint-log
|
2.79 KB |
sha256:cd36b92923e486fa15436a08ade4ff13fa143c54013a26edd37594d0dbb8cb86
|
|