Skip to content

[core] Add basic support for state invariant #9767

[core] Add basic support for state invariant

[core] Add basic support for state invariant #9767

Triggered via pull request June 18, 2024 06:57
Status Failure
Total duration 51s
Artifacts

nodejs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
build: packages/core/test/invariant.test.ts#L174
Type '(x: AssignArgs<{ user: { name: string; age: number; } | null; }, AnyEventObject, EventObject, ProvidedActor>) => { age: number; name?: string | undefined; }' is not assignable to type '{ name: string; age: number; } | PartialAssigner<{ user: { name: string; age: number; } | null; }, AnyEventObject, undefined, EventObject, ProvidedActor, "user"> | null | undefined'.
build: packages/core/test/invariant.test.ts#L181
'x.context.user' is possibly 'null'.
build
Process completed with exit code 2.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.