Bump the effect group across 1 directory with 4 updates #1707
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<HttpClientError, Scope>>' 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 'HttpClient<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<{ readonly message: { 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; } | { ...; })[]; ... ...' is not assignable to parameter of type '(a: unknown) => Effect<{ readonly message: { 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 ...'.
|
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'.
|
Typecheck:
src/Crossref.ts#L52
Argument of type '<I, F, A, Pr, Ret>(self: Matcher<I, F, never, A, Pr, Ret>) => [Pr] extends [never] ? (u: I) => Unify<A> : Unify<A>' is not assignable to parameter of type '(_: Matcher<unknown, Without<never>, unknown, any, unknown, any>) => any'.
|
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.
|
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
|
Build image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npx tsc --project tsconfig.build.json" did not complete successfully: exit code: 2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
PREreview~coar-notify~KC6LD6.dockerbuild
|
9.05 KB |
|