Skip to content

Teasing 2023

Teasing 2023 #540

Triggered via pull request September 20, 2023 13:18
@DevNonoDevNono
synchronize #136
teasing-2023
Status Failure
Total duration 51s
Artifacts

ci.yml

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

Annotations

12 errors and 12 warnings
test (18)
Failed to initialize container mariadb:10
test (18)
One or more containers failed to start.
lint (18): tests/upload.ts#L16
Identifier 'allowed_paths' is not in camel case
lint (18): tests/upload.ts#L17
Identifier 'allowed_file_types' is not in camel case
lint (18): tests/upload.ts#L18
Identifier 'allowed_extensions' is not in camel case
lint (18): tests/upload.ts#L20
Identifier 'max_file_size' is not in camel case
lint (18): tests/upload.ts#L44
Identifier 'max_file_size' is not in camel case
lint (18): tests/upload.ts#L45
Identifier 'allowed_file_types' is not in camel case
lint (18): tests/upload.ts#L47
Identifier 'allowed_extensions' is not in camel case
lint (18): tests/upload.ts#L48
Identifier 'allowed_paths' is not in camel case
lint (18): tests/upload.ts#L49
'index' is assigned a value but never used
lint (18)
Process completed with exit code 1.
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/
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/operations/upload.ts#L3
`sharp` import should occur before import of `../utils/env`
lint (18): src/operations/upload.ts#L8
Delete `⏎`
lint (18): src/operations/upload.ts#L12
Replace `(file.mimetype·===·'image/jpeg')⏎····compressedFile·=·await·sharp(file.buffer).jpeg({quality:·80` with `·(file.mimetype·===·'image/jpeg')·compressedFile·=·await·sharp(file.buffer).jpeg({·quality:·80·`
lint (18): src/operations/upload.ts#L14
Insert `·`
lint (18): src/operations/upload.ts#L15
Replace `quality:·100` with `·quality:·100·`
lint (18): tests/upload.ts#L11
Replace `⏎····'tournaments/lol-logo.png',⏎····'tournaments/lol-background.jpg',⏎]` with `'tournaments/lol-logo.png',·'tournaments/lol-background.jpg'];`
lint (18): tests/upload.ts#L20
Delete `⏎`
lint (18): tests/upload.ts#L35
Replace `········` with `······`
lint (18): tests/upload.ts#L36
Replace `··if` with `if·`
lint (18): tests/upload.ts#L38
Delete `··`