Skip to content

feat(credit): persist credit lines in PostgreSQL #114

feat(credit): persist credit lines in PostgreSQL

feat(credit): persist credit lines in PostgreSQL #114

Triggered via pull request March 29, 2026 14:49
Status Failure
Total duration 28s
Artifacts 1

ci.yml

on: pull_request
Matrix: Lint, Typecheck & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Lint, Typecheck & Test (20.x): src/routes/risk.ts#L1
Imports "Request" and "Response" are only used as type
Lint, Typecheck & Test (20.x): src/routes/credit.ts#L20
'VALID_TRANSACTION_TYPES' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/routes/credit.ts#L1
Imports "Request" and "Response" are only used as type
Lint, Typecheck & Test (20.x): src/routes/__tests__/risk.test.ts#L126
'evalResult' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/repositories/postgres/__tests__/PostgresCreditLineRepository.test.ts#L1
'afterEach' is defined but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/repositories/memory/__tests__/InMemoryTransactionRepository.test.ts#L314
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Lint, Typecheck & Test (20.x): src/db/migrations.test.ts#L1
'beforeEach' is defined but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/__tests__/index.test.ts#L1
'beforeEach' is defined but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/__tests__/index.test.ts#L1
'vi' is defined but never used. Allowed unused vars must match /^_/u
Lint, Typecheck & Test (20.x): src/__test__/jobQueue.test.ts#L35
'job' is defined but never used. Allowed unused args must match /^_/u
Lint, Typecheck & Test (20.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint, Typecheck & Test (20.x): src/routes/__tests__/credit.test.ts#L136
Unexpected any. Specify a different type
Lint, Typecheck & Test (20.x): src/routes/__tests__/credit.test.ts#L24
Unexpected any. Specify a different type
Lint, Typecheck & Test (20.x): src/routes/__tests__/credit.test.ts#L23
Unexpected any. Specify a different type
Lint, Typecheck & Test (20.x): src/container/__tests__/Container.test.ts#L12
Unexpected any. Specify a different type
Lint, Typecheck & Test (20.x): src/__tests__/index.test.ts#L6
Unexpected any. Specify a different type

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
34.3 KB
sha256:32bb857335d2c6680ad7a571b246dbfe2ebaeece7970e0885852ce45a75bfad1