Skip to content

fix production build of storybook for cl #33524

fix production build of storybook for cl

fix production build of storybook for cl #33524

Triggered via push February 22, 2024 16:13
Status Failure
Total duration 5m 42s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 11 warnings
js checks: app-shell/src/main.ts#L137
void is not valid as a constituent in a union type
js checks: app-shell/src/main.ts#L161
Expected the Promise rejection reason to be an Error
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L5
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_1000ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L6
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_1000ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L7
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_10ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L8
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_10ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L9
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_10ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L10
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_10ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L11
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_300ul_side_view.jpg' imported multiple times
js checks: app/src/organisms/CalibrationPanels/labwareImages.ts#L12
'/home/runner/work/opentrons/opentrons/app/src/assets/images/labware/opentrons_96_tiprack_300ul_side_view.jpg' imported multiple times
js checks
Process completed with exit code 2.
js checks: app/src/atoms/ListItem/__tests__/ListItem.test.tsx#L6
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/MenuList/__tests__/MenuList.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/MenuList/__tests__/OverflowBtn.test.tsx#L4
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/ProgressBar/__tests__/ProgressBar.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/Skeleton/__tests__/Skeleton.test.tsx#L2
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/SleepScreen/__tests__/SleepScreen.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/Slideout/__tests__/Slideout.test.tsx#L5
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/Snackbar/__tests__/Snackbar.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/SoftwareKeyboard/CustomKeyboard/__tests__/CustomKeyboard.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/atoms/SoftwareKeyboard/CustomKeyboard/__tests__/CustomKeyboard.test.tsx#L50
Parameter 'button' implicitly has an 'any' type.
js checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
js checks: api-client/src/calibration/types.ts#L1
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/maintenance_runs/createMaintenanceRunLabwareDefinition.ts#L6
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/api-types.ts#L1
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/types.ts#L8
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/modules/types.ts#L15
All imports in the declaration are only used as types. Use `import type`
js checks: api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
js checks: api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature