Skip to content

#8 Passive skills

#8 Passive skills #332

Triggered via pull request July 30, 2024 16:21
Status Failure
Total duration 25s
Artifacts

main.yml

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

Annotations

6 errors and 2 warnings
build (16): src/arena/LogService/utils/format-error.ts#L17
Property 'PASSIVE_FAIL' is missing in type '{ NO_INITIATOR: { ru: string; en: string; }; NO_TARGET: { ru: string; en: string; }; NO_MANA: { ru: string; en: string; }; NO_ENERGY: { ru: string; en: string; }; CHANCE_FAIL: { ru: string; en: string; }; GOD_FAIL: { ...; }; ... 4 more ...; default: { ...; }; }' but required in type 'Record<"default" | BreaksMessage, Record<"en" | "ru", string>>'.
build (16): src/arena/actions/protect.ts#L10
Class 'Protect' incorrectly implements interface 'PreAffect'.
build (16): src/arena/magics/magicWall.ts#L72
Cannot invoke an object which is possibly 'undefined'.
build (16): src/arena/magics/magicWall.ts#L72
Argument of type '{ effect: number; }' is not assignable to parameter of type '{ effect: number; exp: number; }'.
build (16): src/models/character.ts#L95
Argument of type '{ tgId: { type: NumberConstructor; required: true; }; nickname: { type: StringConstructor; required: true; }; birthday: { type: DateConstructor; default: () => number; }; ... 21 more ...; favoriteMagicList: { ...; }[]; }' is not assignable to parameter of type 'Char | { _id?: SchemaDefinitionProperty<ObjectId> | undefined; id?: SchemaDefinitionProperty<string> | undefined; ... 23 more ...; favoriteMagicList?: SchemaDefinitionProperty<...> | undefined; } | undefined'.
build (16)
Process completed with exit code 2.
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/
build (16)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/