Update PR action to include test coverage #3695
pr.yml
on: pull_request
code-style
3m 28s
coverage
6m 46s
Annotations
9 errors and 11 warnings
coverage
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)
|
coverage
Coverage output file not found. (file "report.json" not found)
Error: Coverage output file not found. (file "report.json" not found)
at F7 (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2220:340)
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async Py (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:633)
at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:14995
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:14931)
|
coverage
Getting code coverage data failed.
Error: Getting code coverage data failed.
at Py (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:768)
at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:14995
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:14931)
|
coverage
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)
|
coverage
Coverage output file not found. (file "report.json" not found)
Error: Coverage output file not found. (file "report.json" not found)
at F7 (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2220:340)
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async Py (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:633)
at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15321
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15252)
|
coverage
Getting code coverage data failed.
Error: Getting code coverage data failed.
at Py (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:768)
at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15321
at async ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:158)
at async UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15252)
|
coverage
TypeError: Cannot read properties of undefined (reading 'success')
TypeError: Cannot read properties of undefined (reading 'success')
at IT (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2218:293)
at /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15632
at ei (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2221:164)
at UD (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2230:15594)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
coverage
Jest coverage report action failed
|
coverage
Process completed with exit code 1.
|
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/cli/src/commands/codegen/generate.ts#L147
Unexpected any. Specify a different type
|
code-style:
packages/cli/src/commands/init.ts#L26
'buildManifestFromLocation' is defined but never used
|
code-style:
packages/cli/src/commands/init.ts#L28
Require statement not part of import statement
|
code-style:
packages/cli/src/commands/init.ts#L195
Argument 'flags' should be typed with a non-any type
|
code-style:
packages/cli/src/commands/init.ts#L195
Unexpected any. Specify a different type
|
code-style:
packages/cli/src/controller/codegen-controller.spec.ts#L52
Do not use "@ts-ignore" because it alters compilation errors
|
code-style:
packages/cli/src/controller/codegen-controller.ts#L5
'extensionIsTs' is defined but never used
|
code-style:
packages/cli/src/controller/codegen-controller.ts#L250
Unexpected any. Specify a different type
|
code-style:
packages/cli/src/controller/generate-controller.spec.ts#L174
Require statement not part of import statement
|
code-style:
packages/cli/src/controller/generate-controller.spec.ts#L253
Unexpected any. Specify a different type
|