Skip to content

add component to Global #3524

add component to Global

add component to Global #3524

Triggered via push May 27, 2024 11:30
Status Failure
Total duration 1m 9s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
typescript: src/components/admin/dashboard-statistics/GlobalStats.tsx#L8
JSX expressions must have one parent element.
typescript
Process completed with exit code 2.
lint: server/controllers/activity.ts#L7
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
lint: server/controllers/activity.ts#L8
`../../types/activity.type` import should occur before import of `../../types/anthem.type`
lint: src/components/admin/dashboard-statistics/CountryStats.tsx#L8
`./filters/CountriesDropdown` import should occur before import of `./filters/PhaseDropdown`
lint: src/components/admin/dashboard-statistics/DashboardStatsNav.tsx#L11
Parse errors in imported module './GlobalStats': JSX expressions must have one parent element. (8:4)
lint: src/components/admin/dashboard-statistics/DashboardStatsNav.tsx#L11
Parse errors in imported module './GlobalStats': JSX expressions must have one parent element. (8:4)
lint: src/components/admin/dashboard-statistics/VillageStats.tsx#L1
There should be at least one empty line between import groups
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
typescript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: src/components/admin/dashboard-statistics/DashboardStatsNav.tsx#L11
Parse errors in imported module './GlobalStats': JSX expressions must have one parent element. (8:4)
lint: src/components/admin/dashboard-statistics/DashboardStatsNav.tsx#L11
Parse errors in imported module './GlobalStats': JSX expressions must have one parent element. (8:4)
lint: src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L6
'useGetClassroomExchanges' is defined but never used
lint: src/components/admin/dashboard-statistics/charts/HorizontalChart.tsx#L6
'ClassroomExchangesStats' is defined but never used