Skip to content

feat: upgrade styled components to v6 #14185

feat: upgrade styled components to v6

feat: upgrade styled components to v6 #14185

Triggered via pull request March 13, 2024 16:31
Status Failure
Total duration 6m 22s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 10 warnings
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L110
Cannot invoke an object which is possibly 'undefined'.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L110
Expected 1 arguments, but got 0.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L117
Cannot invoke an object which is possibly 'undefined'.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L117
Expected 1 arguments, but got 0.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L124
Cannot invoke an object which is possibly 'undefined'.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L124
Expected 1 arguments, but got 0.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L131
Cannot invoke an object which is possibly 'undefined'.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L131
Expected 1 arguments, but got 0.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L140
Cannot invoke an object which is possibly 'undefined'.
Lint: src/__internal__/checkable-input/hidden-checkable-input.spec.tsx#L140
Expected 1 arguments, but got 0.
Test with Node 20.x
Process completed with exit code 1.
Test with Node 20.x
The job was canceled because "_20_x_4" failed.
Test with Node 20.x
Process completed with exit code 1.
Test with Node 20.x
The job was canceled because "_20_x_4" failed.
Test with Node 20.x
The operation was canceled.
Test with Node 20.x
The job was canceled because "_20_x_4" failed.
Test with Node 20.x
The operation was canceled.
Test with Node 18.x
The job was canceled because "_20_x_4" failed.
Test with Node 18.x
The operation was canceled.
Test with Node 18.x
The job was canceled because "_20_x_4" failed.
Test with Node 18.x
The operation was canceled.
Test with Node 18.x
The job was canceled because "_20_x_4" failed.
Test with Node 18.x
The operation was canceled.
Test with Node 18.x
The job was canceled because "_20_x_4" failed.
Test with Node 18.x
The operation was canceled.
Lint: src/__internal__/form-field/form-field.component.tsx#L124
React Hook useMemo has a missing dependency: 'loading'. Either include it or remove the dependency array
Lint: src/__internal__/input-icon-toggle/input-icon-toggle.component.tsx#L21
'tooltipId' PropType is defined but prop is never used
Lint: src/__internal__/sticky-footer/sticky-footer.component.tsx#L26
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
Lint: src/components/action-popover/action-popover.stories.tsx#L242
Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md
Lint: src/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.tsx#L6
'target' PropType is defined but prop is never used
Lint: src/components/duelling-picklist/components.test-pw.tsx#L63
'removed' is assigned a value but never used
Lint: src/components/duelling-picklist/components.test-pw.tsx#L66
'removed2' is assigned a value but never used
Lint: src/components/duelling-picklist/components.test-pw.tsx#L74
'removed' is assigned a value but never used
Lint: src/components/duelling-picklist/components.test-pw.tsx#L230
'removed' is assigned a value but never used
Lint: src/components/duelling-picklist/components.test-pw.tsx#L233
'removed2' is assigned a value but never used