Skip to content

feat(notification-system): add screen reader announcer #2537

feat(notification-system): add screen reader announcer

feat(notification-system): add screen reader announcer #2537

Triggered via pull request December 27, 2024 22:35
@gabrielchlgabrielchl
opened #745
Status Failure
Total duration 16m 50s
Artifacts

pull-request.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Test - static: src/components/NotificationSystem/NotificationSystem.stories.tsx#L67
Argument of type '{ attention: "medium"; }' is not assignable to parameter of type 'Pick<ToastOptions<{}>, "role" | "onClose" | "toastId" | "autoClose"> & CustomOptions'.
Test - static: src/components/NotificationSystem/NotificationSystem.stories.tsx#L110
Argument of type '{ attention: "medium"; }' is not assignable to parameter of type 'Pick<ToastOptions<{}>, "role" | "onClose" | "toastId" | "autoClose"> & CustomOptions'.
Test - static: src/components/NotificationSystem/NotificationSystem.stories.tsx#L161
Argument of type '{ render: JSX.Element; }' is not assignable to parameter of type 'UpdateOptionsType'.
Test - static: src/components/NotificationSystem/NotificationSystem.stories.tsx#L216
Argument of type '{ autoClose: number; onClose: () => void; }' is not assignable to parameter of type 'Pick<ToastOptions<{}>, "role" | "onClose" | "toastId" | "autoClose"> & CustomOptions'.
Test - static: src/components/NotificationSystem/NotificationSystem.stories.tsx#L224
Argument of type '{ autoClose: number; }' is not assignable to parameter of type 'UpdateOptionsType'.
Test - static: src/components/NotificationSystem/NotificationSystem.unit.test.tsx#L367
Property 'id' is missing in type '{ ariaLabel: string; }' but required in type 'Props'.
Test - static: src/components/NotificationSystem/NotificationSystem.unit.test.tsx#L373
Argument of type '{ autoClose: false; toastId: string; }' is not assignable to parameter of type 'Pick<ToastOptions<{}>, "role" | "onClose" | "toastId" | "autoClose"> & CustomOptions'.
Test - Source
Process completed with exit code 1.
Initialize
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Test - static
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Test - Source
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Build - Source
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down