Skip to content

Added action

Added action #48

Triggered via pull request December 12, 2024 17:47
@DE7924DE7924
synchronize #3
action-setup
Status Failure
Total duration 54s
Artifacts

ci.yml

on: pull_request
code-quality
45s
code-quality
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
code-quality: src/scripts/analyze.ts#L11
'commentBody' is never reassigned. Use 'const' instead
code-quality: src/scripts/analyze.ts#L11
'errorMessages' is never reassigned. Use 'const' instead
code-quality: src/scripts/formatting.ts#L7
'commentBody' is never reassigned. Use 'const' instead
code-quality: src/scripts/formatting.ts#L7
'errorMessages' is never reassigned. Use 'const' instead
code-quality: src/scripts/testing.ts#L10
'commentBody' is never reassigned. Use 'const' instead
code-quality: src/scripts/testing.ts#L10
'errorMessages' is never reassigned. Use 'const' instead
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/analyze.ts 11:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const 11:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const /home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/formatting.ts 7:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const 7:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const /home/runner/work/web-components-code-quality/web-components-code-quality/src/scripts/testing.ts 10:8 error 'commentBody' is never reassigned. Use 'const' instead prefer-const 10:21 error 'errorMessages' is never reassigned. Use 'const' instead prefer-const ✖ 6 problems (6 errors, 0 warnings) 6 errors and 0 warnings potentially fixable with the `--fix` option.
code-quality
> [email protected] test > npx jest --coverage ----------------|---------|----------|---------|---------|------------------- 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-146 src/scripts | 0 | 0 | 0 | 0 | analyze.ts | 0 | 0 | 0 | 0 | 1-17 comment.ts | 0 | 0 | 0 | 0 | 1-50 formatting.ts | 0 | 0 | 0 | 0 | 1-13 testing.ts | 0 | 0 | 0 | 0 | 1-16 ----------------|---------|----------|---------|---------|-------------------
code-quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636