Skip to content

Add more services to statemachine example #2291

Add more services to statemachine example

Add more services to statemachine example #2291

Triggered via pull request April 24, 2024 05:24
Status Failure
Total duration 2m 2s
Artifacts

actions.yml

on: pull_request
Langium Lint
33s
Langium Lint
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 3 warnings
Langium Lint: examples/statemachine/src/language-server/statemachine-code-actions.ts#L9
Module '"langium"' has no exported member 'CodeActionProvider'.
Langium Lint: examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'AbstractFormatter'.
Langium Lint: examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'Formatting'.
Langium Lint: examples/statemachine/src/language-server/statemachine-formatter.ts#L14
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium Lint: examples/statemachine/src/language-server/statemachine-formatter.ts#L31
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium Lint: examples/statemachine/src/language-server/statemachine-formatter.ts#L48
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium Lint: examples/statemachine/src/language-server/statemachine-module.ts#L42
Type '() => StatemachineFormatter' is not assignable to type 'Module<StatemachineServices, Formatter & StatemachineFormatter> | ((injector: StatemachineServices) => Formatter & StatemachineFormatter)'.
Langium Lint
Process completed with exit code 2.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-code-actions.ts#L9
Module '"langium"' has no exported member 'CodeActionProvider'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'AbstractFormatter'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'Formatting'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L14
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L31
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L48
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (ubuntu-latest): examples/statemachine/src/language-server/statemachine-module.ts#L42
Type '() => StatemachineFormatter' is not assignable to type 'Module<StatemachineServices, Formatter & StatemachineFormatter> | ((injector: StatemachineServices) => Formatter & StatemachineFormatter)'.
Langium CI (ubuntu-latest)
Process completed with exit code 2.
examples/statemachine/test/generator.test.ts: examples/statemachine/src/language-server/statemachine-formatter.ts#L11
TypeError: Class extends value undefined is not a constructor or null ❯ examples/statemachine/src/language-server/statemachine-formatter.ts:11:44 ❯ examples/statemachine/src/language-server/statemachine-module.ts:6:31
examples/statemachine/test/statemachine-cli.test.ts > Test the statemachine CLI > Generator command returns code 0 and creates expected files: examples/statemachine/test/statemachine-cli.test.ts#L20
AssertionError: expected 1 to be +0 // Object.is equality - Expected + Received - 0 + 1 ❯ examples/statemachine/test/statemachine-cli.test.ts:20:29
Langium CI (ubuntu-latest)
Process completed with exit code 1.
examples/statemachine/test/generator.test.ts: examples/statemachine/src/language-server/statemachine-formatter.ts#L11
TypeError: Class extends value undefined is not a constructor or null ❯ examples/statemachine/src/language-server/statemachine-formatter.ts:11:44 ❯ examples/statemachine/src/language-server/statemachine-module.ts:6:31
examples/statemachine/test/statemachine-cli.test.ts > Test the statemachine CLI > Generator command returns code 0 and creates expected files: examples/statemachine/test/statemachine-cli.test.ts#L20
AssertionError: expected 1 to be +0 // Object.is equality - Expected + Received - 0 + 1 ❯ examples/statemachine/test/statemachine-cli.test.ts:20:29
Langium CI (windows-latest)
Process completed with exit code 1.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-code-actions.ts#L9
Module '"langium"' has no exported member 'CodeActionProvider'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'AbstractFormatter'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L8
Module '"langium"' has no exported member 'Formatting'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L14
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L31
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-formatter.ts#L48
Property 'getNodeFormatter' does not exist on type 'StatemachineFormatter'.
Langium CI (windows-latest): examples/statemachine/src/language-server/statemachine-module.ts#L42
Type '() => StatemachineFormatter' is not assignable to type 'Module<StatemachineServices, Formatter & StatemachineFormatter> | ((injector: StatemachineServices) => Formatter & StatemachineFormatter)'.
Langium CI (windows-latest)
Process completed with exit code 2.
Langium Lint
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/.
Langium CI (ubuntu-latest)
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/.
Langium CI (windows-latest)
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/.