Skip to content

Merge branch 'develop' of https://github.com/CDC-HIS/openmrs-esm-ethi… #351

Merge branch 'develop' of https://github.com/CDC-HIS/openmrs-esm-ethi…

Merge branch 'develop' of https://github.com/CDC-HIS/openmrs-esm-ethi… #351

Triggered via push January 16, 2024 11:32
Status Failure
Total duration 1m 26s
Artifacts

node.js.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build: src/custom-expressions.ts#L51
Unexpected constant condition
build: src/custom-expressions.ts#L60
Unexpected constant condition
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/controls/calendar/calendar.component.tsx#L45
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
build: src/controls/calendar/calendar.component.tsx#L45
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: src/controls/calendar/calendar.component.tsx#L164
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
build: src/controls/calendar/calendar.component.tsx#L172
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
build: src/controls/calendar/calendar.component.tsx#L189
React Hook useEffect has missing dependencies: 'onDateChange' and 'question.id'. Either include them or remove the dependency array. Outer scope values like 'window.jQuery' aren't valid dependencies because mutating them doesn't re-render the component
build: src/controls/date/ethiohri-date.component.tsx#L52
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
build: src/controls/date/ethiohri-date.component.tsx#L52
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
build: src/controls/date/ethiohri-date.component.tsx#L139
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
build: src/controls/date/ethiohri-date.component.tsx#L147
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
build: src/pages/program-management/tabs/intake-b.component.tsx#L81
React Hook useEffect has a missing dependency: 'patientUuid'. Either include it or remove the dependency array