Skip to content

feat: refactored lib types and build #2

feat: refactored lib types and build

feat: refactored lib types and build #2

Triggered via pull request July 19, 2024 14:24
@orYoffeorYoffe
synchronize #27
major-version
Status Failure
Total duration 19s
Artifacts

pull-request.yaml

on: pull_request
⬣ Linting
5s
⬣ Linting
🔎 Type check
9s
🔎 Type check
⚡ Unit Tests
8s
⚡ Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
lint/style/useNodejsImportProtocol: src/app.test.ts#L3
A Node.js builtin module should be imported with the node: protocol.
lint/complexity/useArrowFunction: src/index.test.ts#L15
This function expression can be turned into an arrow function.
⬣ Linting
Process completed with exit code 1.
⚡ Unit Tests
Process completed with exit code 1.
⚡ Unit Tests
Failed to parse the json-summary at path "/home/runner/work/jstates/jstates/coverage/coverage-summary.json." Make sure to run vitest before this action and to include the "json-summary" reporter. Original Error: Error: ENOENT: no such file or directory, open '/home/runner/work/jstates/jstates/coverage/coverage-summary.json' at async open (node:internal/fs/promises:636:25) at async readFile (node:internal/fs/promises:1246:14) at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:191) at async ll (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:128:272) at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:1910)
⚡ Unit Tests
Error: ENOENT: no such file or directory, open '/home/runner/work/jstates/jstates/coverage/coverage-summary.json'
🔎 Type check: src/app.test.ts#L2
Cannot find module 'jstates' or its corresponding type declarations.
🔎 Type check
Process completed with exit code 2.
⚡ Unit Tests
Could not determine node version from /home/runner/work/jstates/jstates/package.json. Falling back
🔎 Type check
Could not determine node version from /home/runner/work/jstates/jstates/package.json. Falling back