Fix for chainType validator #292
pr.yml
on: pull_request
code-style
1m 46s
Coverage report
3m 10s
Annotations
4 errors and 12 warnings
code-style:
packages/common-cosmos/src/project/utils.ts#L5
`@subql/common-cosmos/project/models` import should occur before import of `@subql/types-core`
|
code-style
Process completed with exit code 1.
|
Coverage report
Error: The process '/opt/hostedtoolcache/node/18.18.0/x64/bin/npm' failed with exit code 1
Error: The process '/opt/hostedtoolcache/node/18.18.0/x64/bin/npm' failed with exit code 1
at rh._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17898)
at rh.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17485)
at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:16477)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
Coverage report
Error: The process '/usr/local/bin/yarn' failed with exit code 1
Error: The process '/usr/local/bin/yarn' failed with exit code 1
at rh._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17898)
at rh.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:17485)
at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2/dist/index.js:21:16477)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
code-style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
code-style:
packages/common-cosmos/src/codegen/codegen-controller.spec.ts#L143
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/codegen/codegen-controller.ts#L226
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/models.ts#L143
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/models.ts#L207
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/project.spec.ts#L38
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/project.spec.ts#L39
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/project.spec.ts#L46
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/project.spec.ts#L50
Unexpected any. Specify a different type
|
code-style:
packages/common-cosmos/src/project/utils.ts#L5
'CosmosCustomModuleImpl' is defined but never used
|
code-style:
packages/common-cosmos/src/project/utils.ts#L52
Argument 'templatesData' should be typed with a non-any type
|
Coverage report
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|