Skip to content

add checking issuer for awarding badge, fix prettier issue #924

add checking issuer for awarding badge, fix prettier issue

add checking issuer for awarding badge, fix prettier issue #924

Triggered via push January 13, 2025 12:41
Status Failure
Total duration 1m 15s
Artifacts

ci.yml

on: push
install-and-test
1m 0s
install-and-test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
install-and-test: src/adm/handlers/moderation/__fixtures__/awardBadge.ts#L33
Type '{ name: string; description: string; issuers: string[]; createdAt: string; updatedAt: string; }' does not satisfy the expected type '{ displayName: string; name: string; description: string; link: string; createdAt: string | number | Date; icon: string; borderImage: string; issuers: string[]; updatedAt?: string | number | Date | undefined; }'.
install-and-test: src/adm/index.ts#L116
Argument of type '{ userId: string; badgeId: string; badgeMetaData: string; }' is not assignable to parameter of type '{ userId: string; badgeId: string; badgeMetaData: string; request: { userId: string; }; }'.
install-and-test
Process completed with exit code 2.
install-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
install-and-test: src/adm/util.ts#L58
Unexpected any. Specify a different type
install-and-test: src/adm/util.ts#L58
Unexpected any. Specify a different type
install-and-test: src/adm/util.ts#L98
Unexpected any. Specify a different type
install-and-test: src/adm/util.ts#L98
Unexpected any. Specify a different type