Skip to content

revert usb.ts change #36790

revert usb.ts change

revert usb.ts change #36790

Triggered via push May 1, 2024 18:53
Status Failure
Total duration 8m 45s
Artifacts

js-check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
js checks
Process completed with exit code 2.
js checks: app/src/organisms/OnDeviceDisplay/RunningProtocol/__tests__/CurrentRunningProtocolCommand.test.tsx#L37
Property 'lastRunCommand' is missing in type '{ runStatus: "running"; robotSideAnalysis: CompletedProtocolAnalysis; runTimerInfo: { runStatus: "running"; startedAt: string; stoppedAt: string; completedAt: string; }; playRun: Mock<any, any>; pauseRun: Mock<any, any>; setShowConfirmCancelRunModal: Mock<any, any>; trackProtocolRunEvent: Mock<[protocolRunEvent: ProtocolRunAnalyticsEvent], void>; robotAnalyticsData: any; protocolName: string; currentRunCommandIndex: number; lastAnimatedCommand: null; updateLastAnimatedCommand: Mock<any, any>; robotType: "OT-3 Standard"; }' but required in type 'CurrentRunningProtocolCommandProps'.
js checks: app/src/organisms/RunProgressMeter/__tests__/RunProgressMeter.test.tsx#L22
'"../../../resources/runs"' has no exported member named 'useNotifyLastRunCommandKey'. Did you mean 'useNotifyLastRunCommand'?
js checks: app/src/pages/RunningProtocol/__tests__/RunningProtocol.test.tsx#L38
'"../../../resources/runs"' has no exported member named 'useNotifyLastRunCommandKey'. Did you mean 'useNotifyLastRunCommand'?
js checks
Process completed with exit code 2.
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, actions/cache@v3. 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/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
js checks: api-client/src/protocols/__tests__/utils.test.ts#L17
All imports in the declaration are only used as types. Use `import type`