Skip to content

feat: Fetch countries and corresponding village to filter stats #3965

feat: Fetch countries and corresponding village to filter stats

feat: Fetch countries and corresponding village to filter stats #3965

Triggered via push September 30, 2024 12:42
Status Failure
Total duration 1m 8s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
typescript: src/components/admin/dashboard-statistics/ClassroomStats.tsx#L51
Type 'string[]' is not assignable to type 'Country[]'.
typescript: src/components/admin/dashboard-statistics/ClassroomStats.tsx#L54
Type 'string[]' is not assignable to type '{ name: string; id: number; }[]'.
typescript: src/components/admin/dashboard-statistics/ClassroomStats.tsx#L54
Type '(village: string) => void' is not assignable to type '(vm: { name: string; id: number; }) => void'.
typescript: src/components/admin/dashboard-statistics/CountryStats.tsx#L73
Type 'string[]' is not assignable to type 'Country[]'.
typescript
Process completed with exit code 2.
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/
unit-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/
typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: server/stats/classroomStats.ts#L59
'phase' is defined but never used