Skip to content

Refactor item service #315

Refactor item service

Refactor item service #315

Triggered via pull request May 28, 2024 15:11
Status Failure
Total duration 38s
Artifacts

main.yml

on: pull_request
Matrix: build
build-prod-container
0s
build-prod-container
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build (16): src/arena/ClanService/ClanService.ts#L83
'char' is possibly 'null'.
build (16): src/arena/ClanService/ClanService.ts#L203
'char' is possibly 'null'.
build (16): src/arena/ClanService/ClanService.ts#L233
'char' is possibly 'null'.
build (16): src/arena/InventoryService.ts#L31
Object is possibly 'undefined'.
build (16): src/arena/PlayersService/Player.ts#L90
Property 'modifiers' does not exist on type 'CharacterService'.
build (16): src/arena/PlayersService/Player.ts#L99
Property 'getPutonedWeapon' does not exist on type 'CharacterService'.
build (16): src/arena/PlayersService/PlayersService.test.ts#L30
Type '(CharacterService | null)[]' is not assignable to type 'CharacterService[]'.
build (16): src/scenes/battle.ts#L82
'mm.time' is possibly 'undefined'.
build (16): src/scenes/battle.ts#L227
'char' is possibly 'null' or 'undefined'.
build (16): src/scenes/create/create.ts#L85
Type 'CharacterService | null | undefined' is not assignable to type 'CharacterService'.
build (16)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (16)
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/