Skip to content

feat: shard client and login tests #1

feat: shard client and login tests

feat: shard client and login tests #1

Triggered via pull request June 18, 2024 07:53
Status Failure
Total duration 6m 39s
Artifacts 1

lint-and-test-client.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 46 warnings
test (1/4)
Cannot find module '@opencrvs/components/lib/theme' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/buttons' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/common-types' or its corresponding type declarations.
test (1/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (1/4)
Type '{ key: string; label: string; handler: () => void; }' is not assignable to type 'IPresetButton'.
test (1/4)
Property 'handler' does not exist on type 'IPresetButton'.
test (1/4)
Property 'label' does not exist on type 'IPresetButton'.
test (3/4)
Cannot find module '@opencrvs/components/lib/theme' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/buttons' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/common-types' or its corresponding type declarations.
test (3/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (3/4)
Type '{ key: string; label: string; handler: () => void; }' is not assignable to type 'IPresetButton'.
test (3/4)
Property 'handler' does not exist on type 'IPresetButton'.
test (3/4)
Property 'label' does not exist on type 'IPresetButton'.
test (2/4)
Cannot find module '@opencrvs/components/lib/theme' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/buttons' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/common-types' or its corresponding type declarations.
test (2/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (2/4)
Type '{ key: string; label: string; handler: () => void; }' is not assignable to type 'IPresetButton'.
test (2/4)
Property 'handler' does not exist on type 'IPresetButton'.
test (2/4)
Property 'label' does not exist on type 'IPresetButton'.
test (4/4)
Cannot find module '@opencrvs/components/lib/theme' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/buttons' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/common-types' or its corresponding type declarations.
test (4/4)
Cannot find module '@opencrvs/components/lib/icons' or its corresponding type declarations.
test (4/4)
Type '{ key: string; label: string; handler: () => void; }' is not assignable to type 'IPresetButton'.
test (4/4)
Property 'handler' does not exist on type 'IPresetButton'.
test (4/4)
Property 'label' does not exist on type 'IPresetButton'.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (1/4): packages/client/src/components/Header/Hamburger.tsx#L12
'useIntl' is defined but never used
test (1/4): packages/client/src/components/review/RejectRegistrationForm.tsx#L37
'RouteComponentProps' is defined but never used
test (1/4): packages/client/src/pdfRenderer/transformer/userTransformer.ts#L17
'ILocationPayload' is defined but never used
test (1/4): packages/client/src/tests/util.tsx#L221
'currentUserId' is assigned a value but never used
test (1/4): packages/client/src/transformer/transformer.test.tsx#L42
'IPersonDetails' is defined but never used
test (1/4): packages/client/src/user/userReducer.ts#L19
'AnyFn' is defined but never used
test (1/4): packages/client/src/user/userReducer.ts#L44
'Validator' is defined but never used
test (1/4): packages/client/src/utils/persistence/transform.ts#L59
'addPersistFieldToDocument' is assigned a value but never used
test (1/4): packages/client/src/utils/validate.test.ts#L27
'checkMarriageDate' is defined but never used
test (3/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3/4): packages/client/src/components/Header/Hamburger.tsx#L12
'useIntl' is defined but never used
test (3/4): packages/client/src/components/review/RejectRegistrationForm.tsx#L37
'RouteComponentProps' is defined but never used
test (3/4): packages/client/src/pdfRenderer/transformer/userTransformer.ts#L17
'ILocationPayload' is defined but never used
test (3/4): packages/client/src/tests/util.tsx#L221
'currentUserId' is assigned a value but never used
test (3/4): packages/client/src/transformer/transformer.test.tsx#L42
'IPersonDetails' is defined but never used
test (3/4): packages/client/src/user/userReducer.ts#L19
'AnyFn' is defined but never used
test (3/4): packages/client/src/user/userReducer.ts#L44
'Validator' is defined but never used
test (3/4): packages/client/src/utils/persistence/transform.ts#L59
'addPersistFieldToDocument' is assigned a value but never used
test (3/4): packages/client/src/utils/validate.test.ts#L27
'checkMarriageDate' is defined but never used
test (2/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (2/4): packages/client/src/components/Header/Hamburger.tsx#L12
'useIntl' is defined but never used
test (2/4): packages/client/src/components/review/RejectRegistrationForm.tsx#L37
'RouteComponentProps' is defined but never used
test (2/4): packages/client/src/pdfRenderer/transformer/userTransformer.ts#L17
'ILocationPayload' is defined but never used
test (2/4): packages/client/src/tests/util.tsx#L221
'currentUserId' is assigned a value but never used
test (2/4): packages/client/src/transformer/transformer.test.tsx#L42
'IPersonDetails' is defined but never used
test (2/4): packages/client/src/user/userReducer.ts#L19
'AnyFn' is defined but never used
test (2/4): packages/client/src/user/userReducer.ts#L44
'Validator' is defined but never used
test (2/4): packages/client/src/utils/persistence/transform.ts#L59
'addPersistFieldToDocument' is assigned a value but never used
test (2/4): packages/client/src/utils/validate.test.ts#L27
'checkMarriageDate' is defined but never used
test (4/4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (4/4): packages/client/src/components/Header/Hamburger.tsx#L12
'useIntl' is defined but never used
test (4/4): packages/client/src/components/review/RejectRegistrationForm.tsx#L37
'RouteComponentProps' is defined but never used
test (4/4): packages/client/src/pdfRenderer/transformer/userTransformer.ts#L17
'ILocationPayload' is defined but never used
test (4/4): packages/client/src/tests/util.tsx#L221
'currentUserId' is assigned a value but never used
test (4/4): packages/client/src/transformer/transformer.test.tsx#L42
'IPersonDetails' is defined but never used
test (4/4): packages/client/src/user/userReducer.ts#L19
'AnyFn' is defined but never used
test (4/4): packages/client/src/user/userReducer.ts#L44
'Validator' is defined but never used
test (4/4): packages/client/src/utils/persistence/transform.ts#L59
'addPersistFieldToDocument' is assigned a value but never used
test (4/4): packages/client/src/utils/validate.test.ts#L27
'checkMarriageDate' is defined but never used
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "client-build". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
client-build Expired
725 KB