feat!: rebuilt project in TS with API validation with Zod #9
nodejs.yml
on: pull_request
nodejs
/
prepare
2s
nodejs
/
lint-eslint
23s
nodejs
/
lint-prettier
26s
nodejs
/
lint-check-types
30s
Matrix: nodejs / test
Annotations
12 errors and 3 warnings
nodejs / lint-prettier
Process completed with exit code 1.
|
src/__tests__/Zenodo.test.ts > authenticate:
src/__tests__/Zenodo.test.ts#L43
ReferenceError: File is not defined
❯ src/__tests__/Zenodo.test.ts:43:25
|
nodejs / test (18)
Process completed with exit code 1.
|
nodejs / lint-check-types:
src/Zenodo.ts#L35
'depositions' is of type 'unknown'.
|
nodejs / lint-check-types:
src/Zenodo.ts#L35
Parameter 'deposition' implicitly has an 'any' type.
|
nodejs / lint-check-types:
src/Zenodo.ts#L45
Argument of type 'unknown' is not assignable to parameter of type 'Deposition'.
|
nodejs / lint-check-types:
src/Zenodo.ts#L54
'depositions' is of type 'unknown'.
|
nodejs / lint-check-types:
src/Zenodo.ts#L54
Parameter 'deposition' implicitly has an 'any' type.
|
nodejs / lint-check-types:
src/__tests__/Zenodo.test.ts#L15
Argument of type '{ host: string; }' is not assignable to parameter of type 'ZenodoOptions'.
|
nodejs / lint-check-types:
src/__tests__/Zenodo.test.ts#L24
Type 'string | undefined' is not assignable to type 'string'.
|
nodejs / lint-check-types:
src/depositions/Deposition.ts#L87
Argument of type 'unknown' is not assignable to parameter of type 'Deposition'.
|
nodejs / lint-check-types
Process completed with exit code 2.
|
nodejs / lint-eslint:
src/__tests__/getConfig.ts#L5
Missing JSDoc comment
|
nodejs / lint-eslint:
src/depositions/Deposition.ts#L62
Unexpected any. Specify a different type
|
nodejs / lint-eslint:
src/fetchZenodo.ts#L13
Missing JSDoc comment
|