chore: fix jest esm tests #5496
tests.yaml
on: pull_request
build-and-unit
1m 42s
cli-package-test
2m 43s
coverage-report
2m 33s
code-style-check
22s
Annotations
12 errors and 14 warnings
code-style-check:
packages/cli/src/commands/preview-docs/preview-server/server.ts#L3
Do not use "@ts-ignore" because it alters compilation errors
|
code-style-check:
packages/cli/src/index.ts#L16
'handlerBuildCommand' is defined but never used. Allowed unused vars must match /^_/u
|
code-style-check:
packages/cli/src/index.ts#L29
'BuildDocsArgv' is defined but never used. Allowed unused vars must match /^_/u
|
code-style-check:
packages/cli/src/index.ts#L760
'argv' is defined but never used. Allowed unused args must match /^_/u
|
code-style-check:
packages/cli/src/utils/fetch-with-timeout.ts#L9
Do not use "@ts-ignore" because it alters compilation errors
|
code-style-check
Process completed with exit code 1.
|
build-and-unit
Process completed with exit code 1.
|
coverage-report
Error: The process '/opt/hostedtoolcache/node/20.18.0/x64/bin/npm' failed with exit code 1
Error: The process '/opt/hostedtoolcache/node/20.18.0/x64/bin/npm' failed with exit code 1
at jp._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:17263)
at jp.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:16853)
at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:15846)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
|
coverage-report
Error: The process '/opt/hostedtoolcache/node/20.18.0/x64/bin/npm' failed with exit code 1
Error: The process '/opt/hostedtoolcache/node/20.18.0/x64/bin/npm' failed with exit code 1
at jp._setResult (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:17263)
at jp.CheckComplete (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:16853)
at ChildProcess.<anonymous> (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:10:15846)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
|
coverage-report
HttpError: Resource not accessible by integration
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:2:329684
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async a4 (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:28:829)
at async /home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:52:1616
at async je (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:51:156)
at async Ow (/home/runner/work/_actions/artiomtr/jest-coverage-report-action/v2.0.8/dist/index.js:52:1537)
|
coverage-report
Jest coverage report action failed
|
coverage-report
Process completed with exit code 1.
|
code-style-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
code-style-check:
packages/cli/src/commands/build-docs/types.ts#L8
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/build-docs/types.ts#L9
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/build-docs/types.ts#L19
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/build-docs/utils.ts#L51
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L49
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L168
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L291
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L299
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L325
Unexpected any. Specify a different type
|
code-style-check:
packages/cli/src/commands/join.ts#L624
Unexpected any. Specify a different type
|
build-and-unit
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
coverage-report
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
cli-package-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|