Skip to content

feat(notifications): implement missing notifications module and services #55

feat(notifications): implement missing notifications module and services

feat(notifications): implement missing notifications module and services #55

Status Failure
Total duration 4m 8s
Artifacts 1

ci.yml

on: pull_request
Install Dependencies
53s
Install Dependencies
ESLint
24s
ESLint
Prettier Format Check
25s
Prettier Format Check
TypeScript Type Check
25s
TypeScript Type Check
Unit Tests & Coverage
3m 0s
Unit Tests & Coverage
E2E Tests
0s
E2E Tests
CI Passed
4s
CI Passed
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 9 warnings
TypeScript Type Check
Process completed with exit code 2.
TypeScript Type Check: src/notifications/notifications.module.ts#L25
Duplicate identifier 'Module'.
TypeScript Type Check: src/notifications/notifications.module.ts#L11
Decorators are not valid here.
TypeScript Type Check: src/notifications/notifications.module.ts#L1
Duplicate identifier 'Module'.
ESLint: src/notifications/notifications.service.ts#L165
Insert `⏎·······`
ESLint: src/notifications/notifications.service.ts#L163
Replace `type:·NotificationType,·preferences:·NotificationPreferences` with `⏎····type:·NotificationType,⏎····preferences:·NotificationPreferences,⏎··`
ESLint: src/notifications/notifications.service.ts#L152
Replace `userId:·string,·updateDto:·Partial<NotificationPreferences>` with `⏎····userId:·string,⏎····updateDto:·Partial<NotificationPreferences>,⏎··`
ESLint: src/notifications/notifications.service.ts#L108
Insert `⏎······`
ESLint: src/notifications/notifications.service.ts#L101
Insert `⏎······`
ESLint: src/notifications/notifications.service.ts#L100
Replace `userId:·string,·options:·{·isRead?:·boolean;·limit?:·number;·offset?:·number·}·=·{}` with `⏎····userId:·string,⏎····options:·{·isRead?:·boolean;·limit?:·number;·offset?:·number·}·=·{},⏎··`
ESLint: src/notifications/notifications.service.ts#L93
Replace ``Sending·external·push·notification·to·user·${notification.userId}:·${notification.title}`` with `⏎······`Sending·external·push·notification·to·user·${notification.userId}:·${notification.title}`,⏎····`
ESLint: src/notifications/notifications.service.ts#L87
Replace ``Sending·email·notification·to·user·${notification.userId}:·${notification.title}`` with `⏎······`Sending·email·notification·to·user·${notification.userId}:·${notification.title}`,⏎····`
ESLint: src/notifications/notifications.service.ts#L5
Replace `·Notification,·NotificationType,·NotificationPriority·` with `⏎··Notification,⏎··NotificationType,⏎··NotificationPriority,⏎`
Prettier Format Check
Process completed with exit code 2.
CI Passed
Process completed with exit code 1.
Install Dependencies
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
TypeScript Type Check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ESLint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
ESLint: src/notifications/preferences/preferences.service.ts#L1
'NotFoundException' is defined but never used. Allowed unused vars must match /^_/u
ESLint: src/notifications/notifications.service.ts#L7
'UpdateNotificationDto' is defined but never used. Allowed unused vars must match /^_/u
ESLint: src/notifications/notifications.controller.ts#L18
'UpdateNotificationDto' is defined but never used. Allowed unused vars must match /^_/u
ESLint: src/notifications/notifications.controller.ts#L4
'Post' is defined but never used. Allowed unused vars must match /^_/u
Prettier Format Check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests & Coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
2.12 MB
sha256:f68a9d53793a7499cb43ea5c6bb41dba01a9ad8583ad13c7f1539c06cd2eb3ee