Skip to content

more stable migration #3492

more stable migration

more stable migration #3492

Triggered via push May 14, 2024 09:57
Status Failure
Total duration 1m 4s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
typescript: server/__tests__/fileUpload.test.ts#L30
Conversion of type '{ id: number; email: string; pseudo: string; level: string; school: string; city: string; postalCode: string; address: string; avatar: null; displayName: null; accountRegistration: number; passwordHash: string; ... 4 more ...; position: { ...; }; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
typescript: server/__tests__/fileUpload.test.ts#L55
Conversion of type '{ id: number; email: string; pseudo: string; level: string; school: string; city: string; postalCode: string; address: string; avatar: null; displayName: null; accountRegistration: number; passwordHash: string; ... 4 more ...; position: { ...; }; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
typescript: server/__tests__/fileUpload.test.ts#L86
Conversion of type '{ id: number; email: string; pseudo: string; level: string; school: string; city: string; postalCode: string; address: string; avatar: null; displayName: null; accountRegistration: number; passwordHash: string; ... 4 more ...; position: { ...; }; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
typescript: server/__tests__/fileUpload.test.ts#L115
Conversion of type '{ id: number; email: string; pseudo: string; level: string; school: string; city: string; postalCode: string; address: string; avatar: null; displayName: null; accountRegistration: number; passwordHash: string; ... 4 more ...; position: { ...; }; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
typescript
Process completed with exit code 1.
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/