Skip to content

fix: use react-jsx transform #14724

fix: use react-jsx transform

fix: use react-jsx transform #14724

Triggered via pull request January 18, 2024 16:31
Status Failure
Total duration 7m 57s
Artifacts

main.yml

on: pull_request
Install Dependencies
55s
Install Dependencies
reuse-compliance
7s
reuse-compliance
check-bundle-size
1m 49s
check-bundle-size
Matrix: test / Cypress
test  /  Combine Coverage
4s
test / Combine Coverage
deploy-next-docs
0s
deploy-next-docs
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 11 warnings
check-bundle-size
The process '/usr/local/bin/yarn' failed with exit code 2
Build: packages/charts/src/components/TimelineChart/chartbody/TimelineChartRow.tsx#L167
Type '(evt: MouseEvent<SVGRectElement, MouseEvent>) => void' is not assignable to type 'MouseEventHandler<SVGRectElement>'.
Build: packages/charts/src/components/TimelineChart/chartbody/TimelineChartRow.tsx#L168
Type '((evt: MouseEvent<SVGRectElement, MouseEvent<Element, MouseEvent>>) => void) & Cancelable' is not assignable to type 'MouseEventHandler<SVGRectElement>'.
Build: packages/charts/src/components/TimelineChart/chartbody/TimelineChartRow.tsx#L290
Type '(evt: MouseEvent<SVGRectElement, MouseEvent>) => void' is not assignable to type 'MouseEventHandler<SVGRectElement>'.
Build: packages/charts/src/components/TimelineChart/chartbody/TimelineChartRow.tsx#L291
Type '((evt: MouseEvent<SVGRectElement, MouseEvent<Element, MouseEvent>>) => void) & Cancelable' is not assignable to type 'MouseEventHandler<SVGRectElement>'.
Build: packages/charts/src/components/TimelineChart/TimelineChart.tsx#L264
Type '(e: MouseEvent<HTMLDivElement, MouseEvent>) => void' is not assignable to type 'MouseEventHandler<HTMLDivElement>'.
Build: packages/charts/src/components/TimelineChart/TimelineChart.tsx#L266
Type '((e: MouseEvent<HTMLDivElement, MouseEvent<Element, MouseEvent>>) => void) & Cancelable' is not assignable to type 'MouseEventHandler<HTMLDivElement>'.
Build
Process completed with exit code 2.
check-bundle-size
The following actions uses node12 which is deprecated and will be forced to run on node16: preactjs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: packages/base/src/Device/index.cy.tsx#L12
React Hook useEffect has a missing dependency: 'onChange'. Either include it or remove the dependency array
lint: packages/base/src/Device/index.cy.tsx#L32
React Hook useEffect has a missing dependency: 'onChange'. Either include it or remove the dependency array
lint: packages/charts/src/components/BarChart/BarChart.tsx#L78
Unexpected any. Specify a different type
lint: packages/charts/src/components/BarChart/BarChart.tsx#L188
Unexpected any. Specify a different type
lint: packages/charts/src/components/BarChart/Placeholder.tsx#L15
Unexpected any. Specify a different type
lint: packages/charts/src/components/BulletChart/BulletChart.tsx#L68
Unexpected any. Specify a different type
lint: packages/charts/src/components/BulletChart/BulletChart.tsx#L145
Unexpected any. Specify a different type
lint: packages/charts/src/components/BulletChart/BulletChart.tsx#L224
Unexpected any. Specify a different type
lint: packages/charts/src/components/BulletChart/BulletChart.tsx#L298
Unexpected any. Specify a different type
lint: packages/charts/src/components/BulletChart/BulletChart.tsx#L436
Unexpected any. Specify a different type