Skip to content

Added action

Added action #50

Triggered via pull request December 13, 2024 11:41
@DE7924DE7924
synchronize #3
action-setup
Status Failure
Total duration 2m 44s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
code-quality: src/scripts/testing.ts#L6
Functions that return promises must be async
code-quality: src/scripts/testing.ts#L14
Expected the Promise rejection reason to be an Error
code-quality: src/scripts/testing.ts#L17
Unexpected any. Specify a different type
code-quality: src/scripts/testing.ts#L18
Expected the Promise rejection reason to be an Error
code-quality
> [email protected] lint > npx eslint . -c ./.github/linters/.eslintrc.yml /home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/testing.ts 6:57 error Functions that return promises must be async @typescript-eslint/promise-function-async 14:13 error Expected the Promise rejection reason to be an Error @typescript-eslint/prefer-promise-reject-errors 17:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 18:9 error Expected the Promise rejection reason to be an Error @typescript-eslint/prefer-promise-reject-errors ✖ 4 problems (4 errors, 0 warnings) 1 error and 0 warnings potentially fixable with the `--fix` option.
code-quality
> [email protected] test > npx jest ----------------|---------|----------|---------|---------|------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------------|---------|----------|---------|---------|------------------- All files | 0 | 0 | 0 | 0 | src | 0 | 0 | 0 | 0 | index.ts | 0 | 100 | 100 | 0 | 4-7 main.ts | 0 | 0 | 0 | 0 | 1-145 src/scripts | 0 | 0 | 0 | 0 | analyze.ts | 0 | 0 | 0 | 0 | 1-17 comment.ts | 0 | 0 | 0 | 0 | 1-52 formatting.ts | 0 | 0 | 0 | 0 | 1-13 setup.ts | 0 | 0 | 0 | 0 | 1-13 testing.ts | 0 | 0 | 0 | 0 | 1-48 ----------------|---------|----------|---------|---------|-------------------
code-quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636