Skip to content

Bump react and @types/react #1918

Bump react and @types/react

Bump react and @types/react #1918

Triggered via pull request December 6, 2024 00:38
Status Failure
Total duration 3m 45s
Artifacts

js-ci.yml

on: pull_request
Check conditional workflows and jobs
7s
Check conditional workflows and jobs
Account UI E2E
0s
Account UI E2E
Matrix: Admin UI E2E
Status Check - Keycloak JavaScript CI
6s
Status Check - Keycloak JavaScript CI
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 16 warnings
Admin UI
Expected 1 arguments, but got 0.
Admin UI
Expected 1 arguments, but got 0.
Admin UI
Expected 1 arguments, but got 0.
Admin UI
Namespace 'global.JSX' has no exported member 'Element'.
Admin UI
Expected 1 arguments, but got 0.
Admin UI
Expected 1 arguments, but got 0.
Admin UI
Argument of type 'boolean | ToggleEvent<HTMLDivElement>' is not assignable to parameter of type 'SetStateAction<boolean>'.
Admin UI
Process completed with exit code 1.
Account UI
Expected 1 arguments, but got 0.
Account UI
Expected 1 arguments, but got 0.
Account UI
Expected 1 arguments, but got 0.
Account UI
Namespace 'global.JSX' has no exported member 'Element'.
Account UI
Expected 1 arguments, but got 0.
Account UI
Expected 1 arguments, but got 0.
Account UI
Argument of type 'boolean | ToggleEvent<HTMLDivElement>' is not assignable to parameter of type 'SetStateAction<boolean>'.
Account UI
Process completed with exit code 1.
UI Shared: js/libs/ui-shared/src/controls/PasswordInput.tsx#L47
`MutableRefObject` is deprecated. Use `RefObject` instead
UI Shared
Process completed with exit code 1.
Build Keycloak
Process completed with exit code 1.
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
Check conditional workflows and jobs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate Test Seed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Account UI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
UI Shared
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
UI Shared: js/libs/ui-shared/src/context/KeycloakContext.tsx#L46
Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
UI Shared: js/libs/ui-shared/src/context/KeycloakContext.tsx#L81
React Hook useEffect has a missing dependency: 'environment.scope'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/controls/table/KeycloakDataTable.tsx#L132
React Hook useEffect has a missing dependency: 'rowsSelectedOnPage.length'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/controls/table/KeycloakDataTable.tsx#L456
React Hook useMemo has missing dependencies: 'convertToColumns', 'getNodeText', 'isPaginated', and 'unPaginatedData'. Either include them or remove the dependency array
UI Shared: js/libs/ui-shared/src/select/SingleSelect.tsx#L52
This function accesses a ref value (the `current` property), which may not be accessed during render. (https://react.dev/reference/react/useRef)
UI Shared: js/libs/ui-shared/src/select/SingleSelect.tsx#L52
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L72
React Hook useMemo has a missing dependency: 'defaultValue'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L99
React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useFetch.ts#L43
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
UI Shared: js/libs/ui-shared/src/utils/useFetch.ts#L43
React Hook useEffect has missing dependencies: 'adminClientCall', 'callback', and 'showBoundary'. Either include them or remove the dependency array. If 'adminClientCall' changes too often, find the parent component that defines it and wrap that definition in useCallback
Admin Client
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636