Skip to content

U4X-360 : Add referral in the lab results on the clinician side #211

U4X-360 : Add referral in the lab results on the clinician side

U4X-360 : Add referral in the lab results on the clinician side #211

Triggered via pull request February 2, 2024 11:41
Status Failure
Total duration 30s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
build
Error: Input required and not supplied: server-token
build
typescript: command (/home/runner/work/openmrs-esm-laboratory/openmrs-esm-laboratory/) /tmp/xfs-6867b423/yarn run typescript exited (2)
build: src/patient-chart/laboratory-past-test/laboratory-past-test-order-results.component.tsx#L63
Cannot find module '../../components/cards' or its corresponding type declarations.
build
Process completed with exit code 2.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, felixmosh/turborepo-gh-artifacts@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/patient-chart/laboratory-active-test-order/laboratory-active-test-order-results.component.tsx#L290
React Hook useMemo has a missing dependency: 'enableSendingLabTestsByEmail'. Either include it or remove the dependency array
build: src/patient-chart/laboratory-order-referals/laboratory-order-referals.component.tsx#L321
React Hook useMemo has a missing dependency: 'enableSendingLabTestsByEmail'. Either include it or remove the dependency array
build: src/patient-chart/laboratory-past-test/laboratory-past-test-order-results.component.tsx#L273
React Hook useMemo has a missing dependency: 'enableSendingLabTestsByEmail'. Either include it or remove the dependency array
build: src/work-list/work-list.component.tsx#L120
The 'ResultsOrder' function makes the dependencies of useMemo Hook (at line 193) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'ResultsOrder' in its own useCallback() Hook