feat : Implement email sevice #58
ci.yml
on: pull_request
Install Dependencies
47s
ESLint
22s
Prettier Format Check
19s
TypeScript Type Check
34s
CI Passed
4s
Annotations
17 errors and 8 warnings
|
Prettier Format Check
Process completed with exit code 2.
|
|
ESLint
Process completed with exit code 1.
|
|
ESLint:
src/notifications/preferences/preferences.service.ts#L48
Replace `userId:·string,·channel:·'emailEnabled'·|·'pushEnabled'·|·'inAppEnabled'·|·'smsEnabled'` with `⏎····userId:·string,⏎····channel:·'emailEnabled'·|·'pushEnabled'·|·'inAppEnabled'·|·'smsEnabled',⏎··`
|
|
ESLint:
src/notifications/preferences/preferences.service.ts#L40
Replace `userId:·string,·channel:·'emailEnabled'·|·'pushEnabled'·|·'inAppEnabled'·|·'smsEnabled'` with `⏎····userId:·string,⏎····channel:·'emailEnabled'·|·'pushEnabled'·|·'inAppEnabled'·|·'smsEnabled',⏎··`
|
|
ESLint:
src/notifications/preferences/preferences.service.ts#L31
Replace `userId:·string,·updateDto:·Partial<NotificationPreferences>` with `⏎····userId:·string,⏎····updateDto:·Partial<NotificationPreferences>,⏎··`
|
|
|
|
ESLint:
src/notifications/notifications.service.ts#L251
Replace `⏎······payload.templateType,⏎······payload.data,⏎····` with `payload.templateType,·payload.data`
|
|
ESLint:
src/notifications/notifications.service.ts#L126
Replace `⏎····notification:·Notification,⏎··` with `notification:·Notification`
|
|
ESLint:
src/notifications/notifications.service.ts#L69
Replace `⏎········`Notification·skipped·for·user·${userId}·based·on·preferences`,⏎······` with ``Notification·skipped·for·user·${userId}·based·on·preferences``
|
|
ESLint:
src/notifications/notifications.service.ts#L63
Replace `⏎······type·||·NotificationType.IN_APP,⏎······preferences,⏎····` with `type·||·NotificationType.IN_APP,·preferences`
|
|
TypeScript Type Check
Process completed with exit code 2.
|
|
TypeScript Type Check:
src/notifications/notifications.module.ts#L28
Duplicate identifier 'NotificationsService'.
|
|
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#L3
Duplicate identifier 'NotificationsService'.
|
|
TypeScript Type Check:
src/notifications/notifications.module.ts#L1
Duplicate identifier 'Module'.
|
|
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/
|
|
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. 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/
|
|
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. 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/
|
|
ESLint:
src/notifications/preferences/preferences.service.ts#L1
'NotFoundException' 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
|
|
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. 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/
|
|
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
|
2.14 MB |
sha256:d6d003e0b3469b488a195e3f9e3338d135f4da7858741c69588dcc6a959ff758
|
|