Skip to content

Adding vitest coverage using github workflow #4

Adding vitest coverage using github workflow

Adding vitest coverage using github workflow #4

Triggered via pull request June 6, 2024 11:54
@gokulk16gokulk16
opened #15
r-12
Status Failure
Total duration 38s
Artifacts 2

node.js.yml

on: pull_request
Matrix: test
report-coverage
6s
report-coverage
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
report-coverage
Failed to parse the json-summary at path "/home/runner/work/type-to-calculate-web/type-to-calculate-web/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/type-to-calculate-web/type-to-calculate-web/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:1890)
report-coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/type-to-calculate-web/type-to-calculate-web/coverage/coverage-summary.json'
report-coverage
Failed to read vite config file at any default location in "./". Make sure you provide the vite-config-path option if you're using a non-default location or name of your config file. Will not include thresholds in the final report.

Artifacts

Produced during runtime
Name Size
coverage-main Expired
60 KB
coverage-r-12 Expired
60 KB