Skip to content

Merge branch 'protocol_designer-migrate-webpack-to-vite' of https://g… #33650

Merge branch 'protocol_designer-migrate-webpack-to-vite' of https://g…

Merge branch 'protocol_designer-migrate-webpack-to-vite' of https://g… #33650

Triggered via push February 27, 2024 23:00
Status Failure
Total duration 6m 27s
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/atoms/text/__tests__/StyledText.test.tsx#L2
'vi' is defined but never used
js checks: app/src/atoms/text/__tests__/StyledText.test.tsx#L2
'beforeEach' is defined but never used
js checks: app/src/atoms/text/__tests__/StyledText.test.tsx#L4
'fireEvent' is defined but never used
js checks: app/src/molecules/ModuleIcon/__tests__/ModuleIcon.test.tsx#L4
'fireEvent' is defined but never used
js checks: app/src/molecules/PythonLabwareOffsetSnippet/__tests__/createSnippet.test.ts#L3
'/home/runner/work/opentrons/opentrons/app/node_modules/@opentrons/shared-data/js/index.ts' imported multiple times
js checks: app/src/molecules/PythonLabwareOffsetSnippet/__tests__/createSnippet.test.ts#L4
'/home/runner/work/opentrons/opentrons/app/node_modules/@opentrons/shared-data/js/index.ts' imported multiple times
js checks: app/src/organisms/AdvancedSettings/ClearUnavailableRobots.tsx#L27
'Portal' is defined but never used
js checks
Process completed with exit code 2.
js checks: app/src/organisms/GripperWizardFlows/index.tsx#L20
Module '"../../App/portal"' has no exported member 'Portal'.
js checks: app/src/organisms/AdvancedSettings/ClearUnavailableRobots.tsx#L27
Module '"../../App/portal"' has no exported member 'Portal'.
js checks: app/src/organisms/CalibrateDeck/__tests__/CalibrateDeck.test.tsx#L6
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibratePipetteOffset/__tests__/CalibratePipetteOffset.test.tsx#L4
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrateTipLength/__tests__/AskForCalibrationBlockModal.test.tsx#L2
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrateTipLength/__tests__/CalibrateTipLength.test.tsx#L4
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrationPanels/Introduction/__tests__/Body.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrationPanels/Introduction/__tests__/Introduction.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrationPanels/Introduction/__tests__/InvalidationWarning.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
js checks: app/src/organisms/CalibrationPanels/__tests__/ChooseTipRack.test.tsx#L3
Module '"@opentrons/components"' has no exported member 'renderWithProviders'.
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