Skip to content

EQA-9: Update the coverage script in package.json #221

EQA-9: Update the coverage script in package.json

EQA-9: Update the coverage script in package.json #221

Re-run triggered July 13, 2023 17:07
Status Failure
Total duration 3m 19s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
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/views/hiv-baseline/hiv-baseline-summary.component.tsx#L90
React Hook useEffect has unnecessary dependencies: 'encounterType_intake_A' and 'encounterType_intake_B'. Either exclude them or remove the dependency array. Outer scope values like 'encounterType_intake_A' aren't valid dependencies because mutating them doesn't re-render the component