Skip to content

feat: now also send messages from route POST /contact to Discord #721

feat: now also send messages from route POST /contact to Discord

feat: now also send messages from route POST /contact to Discord #721

Triggered via pull request October 23, 2023 00:28
Status Failure
Total duration 3m 41s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Matrix: deploy-dbdocs
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
lint (18): src/services/discord.ts#L204
Unexpected any. Specify a different type
lint (18): src/utils/discord.ts#L3
'axios' is defined but never used
lint (18)
Process completed with exit code 1.
lint (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (18): src/services/discord.ts#L210
Replace ``An·error·occurred·while·sending·a·message·on·a·webhook·discord·(${webhook}).·What·was·tried·to·be·sent·:·${data}`` with `⏎······`An·error·occurred·while·sending·a·message·on·a·webhook·discord·(${webhook}).·What·was·tried·to·be·sent·:·${data}`,⏎····`
lint (18): src/services/discord.ts#L212
Insert `;⏎`
lint (18): src/utils/discord.ts#L232
Async arrow function has no 'await' expression
lint (18): src/utils/discord.ts#L300
Replace `name,·email,·subject,·message` with `·name,·email,·subject,·message·`
lint (18): src/utils/discord.ts#L304
Replace ``User·${name}·(${email})·tried·sending·a·message·with·subject·${subject}·and·the·following·content·:·${message}.·The·message·could·not·be·sent·to·Discord.`` with `⏎······`User·${name}·(${email})·tried·sending·a·message·with·subject·${subject}·and·the·following·content·:·${message}.·The·message·could·not·be·sent·to·Discord.`,⏎····`
lint (18): src/utils/discord.ts#L310
Replace `{name:·'Sujet',·value:·subject},·{name:·'Message',·value:·message}` with `⏎········{·name:·'Sujet',·value:·subject·},⏎········{·name:·'Message',·value:·message·},⏎······`
lint (18): src/utils/discord.ts#L311
Insert `,`
lint (18): src/utils/discord.ts#L312
Insert `;`
build (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/