Skip to content

Use ts strict checking for binding mqtt #1772

Use ts strict checking for binding mqtt

Use ts strict checking for binding mqtt #1772

Triggered via pull request August 9, 2023 07:32
Status Failure
Total duration 2m 46s
Artifacts

ci.yaml

on: pull_request
eslint
2m 35s
eslint
Check version consistency of packages
6s
Check version consistency of packages
Check coding style
12s
Check coding style
Matrix: setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-client.ts#L82
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L55
Type 'undefined' is not assignable to type 'string'.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L57
Type 'undefined' is not assignable to type 'string'.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L63
Property 'broker' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L65
Property 'hostedServer' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L66
Property 'hostedBroker' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 16.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L212
Variable 'payload' is used before being assigned.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-client.ts#L82
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L55
Type 'undefined' is not assignable to type 'string'.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L57
Type 'undefined' is not assignable to type 'string'.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L63
Property 'broker' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L65
Property 'hostedServer' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L66
Property 'hostedBroker' has no initializer and is not definitely assigned in the constructor.
setup-and-test (ubuntu-latest, 18.x): packages/binding-mqtt/src/mqtt-broker-server.ts#L212
Variable 'payload' is used before being assigned.
Check version consistency of packages
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check coding style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actionsx/prettier@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
setup-and-test (ubuntu-latest, 16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
setup-and-test (ubuntu-latest, 18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/