Skip to content

Devel oskar

Devel oskar #154

Triggered via pull request December 22, 2023 21:30
@panwauupanwauu
synchronize #126
devel_oskar
Status Failure
Total duration 1m 35s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: server/src/game/game.ts#L41
Refactor this function to reduce its Cognitive Complexity from 26 to the 20 allowed
build: server/src/game/game.ts#L138
Refactor this function to reduce its Cognitive Complexity from 35 to the 20 allowed
build: server/src/game/game.ts#L294
Refactor this function to reduce its Cognitive Complexity from 25 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L7
Refactor this function to reduce its Cognitive Complexity from 32 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L205
Refactor this function to reduce its Cognitive Complexity from 22 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L297
Refactor this function to reduce its Cognitive Complexity from 45 to the 20 allowed
build: server/src/game/performMoveUtils.ts#L113
Refactor this function to reduce its Cognitive Complexity from 25 to the 20 allowed
build: server/src/game/statistic.ts#L44
Refactor this function to reduce its Cognitive Complexity from 30 to the 20 allowed
build: server/src/test/captureCompare.ts#L16
Refactor this function to reduce its Cognitive Complexity from 27 to the 20 allowed