Skip to content

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod #74

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod

Upload API Prep Part 1: Add db-migrate, extract config.ts, change tsoa entrypoint and use tsx in prod #74

Triggered via pull request December 3, 2024 18:59
Status Failure
Total duration 31s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build: src/db/migrations.ts#L3
Cannot find module 'sql-template-tag' or its corresponding type declarations.
build
Process completed with exit code 2.
build
Failed to parse the json-summary at path "/home/runner/work/badgehub-api/badgehub-api/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/badgehub-api/badgehub-api/coverage/coverage-summary.json' at async open (node:internal/fs/promises:639:25) at async readFile (node:internal/fs/promises:1242:14) at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797) at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878) at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
build
Error: ENOENT: no such file or directory, open '/home/runner/work/badgehub-api/badgehub-api/coverage/coverage-summary.json'
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636