Skip to content

ci: sync workflows from central-workflows #1

ci: sync workflows from central-workflows

ci: sync workflows from central-workflows #1

Triggered via pull request July 8, 2024 10:01
Status Failure
Total duration 1m 3s
Artifacts

node.js.yml

on: pull_request
Matrix: run build
Matrix: check style
Matrix: check tests
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
check style (20): src/index.ts#L65
Strings must use singlequote
check style (20): src/redis.ts#L15
Strings must use singlequote
check style (20)
Process completed with exit code 1.
run build (16): src/helpers/events.ts#L126
Property 'FIToFICstmrCdt' does not exist on type 'Pacs008'. Did you mean 'FIToFICstmrCdtTrf'?
run build (16): src/helpers/mapper.ts#L61
Type '{ Nm: string; Id: { PrvtId: { DtAndPlcOfBirth: { BirthDt: any; CityOfBirth: string; }; Othr: { Id: any; SchmeNm: { Prtry: any; }; }; }; }; CtctDtls: { MobNb: string; }; }' is not assignable to type 'InitgPty'.
run build (16): src/helpers/mapper.ts#L73
Type 'string' is not assignable to type 'Date'.
run build (16): src/helpers/mapper.ts#L74
Type 'string' is not assignable to type 'Date'.
run build (16): src/helpers/mapper.ts#L82
Property 'CtryOfBirth' is missing in type '{ BirthDt: any; CityOfBirth: string; }' but required in type 'DtAndPLCOfBirth'.
run build (16): src/helpers/mapper.ts#L87
Object literal may only specify known properties, and 'Id' does not exist in type 'Othr[]'.
run build (16): src/helpers/mapper.ts#L101
Object literal may only specify known properties, and 'Id' does not exist in type 'Othr[]'.
run build (16): src/helpers/mapper.ts#L128
Type 'number' is not assignable to type 'string'.
run build (16): src/helpers/mapper.ts#L134
Type 'number' is not assignable to type 'string'.
run build (16): src/helpers/mapper.ts#L154
Property 'CtryOfBirth' is missing in type '{ BirthDt: any; CityOfBirth: string; }' but required in type 'DtAndPLCOfBirth'.
run build (20)
The job was canceled because "_16" failed.
check tests (20)
Process completed with exit code 1.
check style (20): src/app.ts#L3
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
check style (20): src/app.ts#L3
Requires 'eslint-enable' directive for '@typescript-eslint/no-explicit-any'
check style (20): src/app.ts#L4
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
check style (20): src/app.ts#L4
Requires 'eslint-enable' directive for '@typescript-eslint/no-unsafe-argument'
check style (20): src/controllers/misc.ts#L3
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
check style (20): src/controllers/misc.ts#L3
Requires 'eslint-enable' directive for '@typescript-eslint/no-explicit-any'
check style (20): src/helpers/events.ts#L3
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
check style (20): src/helpers/events.ts#L3
Requires 'eslint-enable' directive for '@typescript-eslint/no-explicit-any'
check style (20): src/helpers/events.ts#L4
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
check style (20): src/helpers/events.ts#L4
Requires 'eslint-enable' directive for '@typescript-eslint/explicit-function-return-type'