Bump the effect group across 1 directory with 4 updates #1780
ci.yml
on: pull_request
Annotations
29 errors
Typecheck:
src/CoarNotify.ts#L31
Property 'nonEmpty' does not exist on type 'typeof import("/home/runner/work/coar-notify/coar-notify/node_modules/@effect/schema/dist/dts/Schema")'.
|
Typecheck:
src/Crossref.ts#L22
Argument of type 'Effect<{ getWork: (doi: Doi) => Effect<any, never, unknown>; }, never, HttpClient>' is not assignable to parameter of type 'Effect<{ readonly getWork: (doi: Doi) => Effect<{ readonly type: string; readonly abstract?: string | undefined; readonly author: readonly ({ readonly family: string; readonly given?: string | undefined; readonly prefix?: string | undefined; readonly suffix?: string | undefined; } | { ...; })[]; ... 5 more ...; read...' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
Typecheck:
src/Crossref.ts#L34
Argument of type 'With<HttpClientError, Scope>' is not assignable to parameter of type '(a: HttpClientRequest) => unknown'.
|
Typecheck:
src/Crossref.ts#L35
Argument of type '<E>(self: HttpIncomingMessage<E>) => Effect<unknown, ParseError | E, unknown>' is not assignable to parameter of type '(a: unknown) => Effect<unknown, unknown, unknown>'.
|
Typecheck:
src/Crossref.ts#L35
Argument of type 'Struct<{ message: Schema<{ readonly type: string; readonly abstract?: string | undefined; readonly author: readonly ({ readonly family: string; readonly given?: string | undefined; readonly prefix?: string | undefined; readonly suffix?: string | undefined; } | { ...; })[]; ... 5 more ...; readonly title: readonly st...' is not assignable to parameter of type 'Schema<unknown, unknown, unknown>'.
|
Typecheck:
src/Crossref.ts#L38
'response' is of type 'unknown'.
|
Typecheck:
src/Crossref.ts#L42
Argument of type 'string' is not assignable to parameter of type 'never'.
|
Typecheck:
src/Crossref.ts#L42
Property 'message' does not exist on type 'never'.
|
Typecheck:
src/Crossref.ts#L44
Argument of type 'string' is not assignable to parameter of type 'never'.
|
Typecheck:
src/Crossref.ts#L49
Property 'reason' does not exist on type 'never'.
|
test/CoarNotify.test.ts:
src/CoarNotify.ts#L31
TypeError: Schema.nonEmpty is not a function
❯ src/CoarNotify.ts:31:55
❯ test/CoarNotify.test.ts:4:31
|
test/Crossref.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/Crossref.test.ts:7:31
|
test/CrossrefPreprint.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/CrossrefPreprint.test.ts:6:31
|
test/DataCitePreprint.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/DataCitePreprint.test.ts:6:31
|
test/Datacite.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/Datacite.test.ts:7:31
|
test/OpenAlex/GetWork.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/OpenAlex/GetWork.test.ts:7:31
|
test/OpenAlex/OpenAlexApiLive.test.ts:
test/TestContext.ts#L7
TypeError: Cannot read properties of undefined (reading 'pipe')
❯ test/TestContext.ts:7:48
❯ test/OpenAlex/OpenAlexApiLive.test.ts:8:31
|
Test
Process completed with exit code 1.
|
Build image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm ci --production" did not complete successfully: exit code: 1
|
Lint:
src/CoarNotify.ts#L31
Unsafe argument of type `any` assigned to a parameter of type `(_: filter<Schema<string, string, never>>) => Schema.All | PropertySignature.All<PropertyKey>`
|
Lint:
src/CoarNotify.ts#L31
Unsafe call of an `error` type typed value
|
Lint:
src/Crossref.ts#L38
Unsafe return of an error typed value
|
Lint:
src/Crossref.ts#L42
Unsafe assignment of an error typed value
|
Lint:
src/Crossref.ts#L49
Unsafe assignment of an error typed value
|
Lint:
src/Datacite.ts#L38
Unsafe return of an error typed value
|
Lint:
src/Datacite.ts#L38
Unsafe member access .attributes on an `error` typed value
|
Lint:
src/Datacite.ts#L42
Unsafe assignment of an error typed value
|
Lint:
src/Datacite.ts#L49
Unsafe assignment of an error typed value
|
Lint:
src/Logger.ts#L4
Unsafe assignment of an error typed value
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
PREreview~coar-notify~I43CEI.dockerbuild
|
17.1 KB |
|