Skip to content

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

feat(notifications): implement missing notifications module and services

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

Status Failure
Total duration 3m 57s
Artifacts 1

ci.yml

on: pull_request
Install Dependencies
42s
Install Dependencies
ESLint
25s
ESLint
Prettier Format Check
25s
Prettier Format Check
TypeScript Type Check
28s
TypeScript Type Check
Unit Tests & Coverage
2m 57s
Unit Tests & Coverage
E2E Tests
0s
E2E Tests
CI Passed
5s
CI Passed
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 9 warnings
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,⏎`
ESLint: src/notifications/notifications.module.ts#L13
Replace `⏎····TypeOrmModule.forFeature([Notification,·NotificationPreferences]),⏎··` with `TypeOrmModule.forFeature([Notification,·NotificationPreferences])`
Prettier Format Check
Process completed with exit code 1.
TypeScript Type Check: src/app.module.ts#L150
Argument of type 'typeof CollaborationModule' is not assignable to parameter of type 'DynamicModule'.
TypeScript Type Check: src/app.module.ts#L141
Argument of type 'typeof DataWarehouseModule' is not assignable to parameter of type 'DynamicModule'.
TypeScript Type Check: src/app.module.ts#L132
Argument of type 'typeof ABTestingModule' is not assignable to parameter of type 'DynamicModule'.
TypeScript Type Check: src/app.module.ts#L123
Argument of type 'typeof PaymentsModule' is not assignable to parameter of type 'DynamicModule'.
TypeScript Type Check: src/app.module.ts#L114
Argument of type 'typeof AuthModule' is not assignable to parameter of type 'DynamicModule'.
TypeScript Type Check: src/app.module.ts#L49
'"./cdn/cdn.module"' has no exported member named 'CDNModule'. Did you mean 'CdnModule'?
TypeScript Type Check: src/app.module.ts#L43
'"./assessment/assessment.module"' has no exported member named 'AssessmentModule'. Did you mean 'AssessmentsModule'?
TypeScript Type Check: src/ab-testing/analysis/statistical-analysis.service.ts#L79
Argument of type 'any' is not assignable to parameter of type 'never'.
TypeScript Type Check: src/ab-testing/analysis/statistical-analysis.service.ts#L46
Argument of type 'any' is not assignable to parameter of type 'never'.
TypeScript Type Check: src/ab-testing/ab-testing.controller.ts#L55
Parameter 'req' implicitly has an 'any' type.
Unit Tests & Coverage
Process completed with exit code 1.
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. 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/
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/
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. 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
1.56 MB
sha256:20d7a016f44fa25ea9a02f4796c3da1a90fec4081886d05c5681890e0b6a7cf3