Merge pull request #839 from Emmy123222/feature/trustline-manager-opt… #195
ci.yml
on: push
Frontend — Lint & Build
9s
Backend — Lint & Test
31s
Annotations
5 errors and 2 warnings
|
Frontend — Lint & Build
Process completed with exit code 1.
|
|
Backend — Lint & Test
Process completed with exit code 1.
|
|
tests/integration/prometheus.test.js > Prometheus Metrics:
backend/tests/integration/prometheus.test.js#L29
TypeError: closePool is not a function
❯ tests/integration/prometheus.test.js:29:11
|
|
tests/integration/payments.test.js:
backend/src/routes/merchants.js#L36
Error: [vitest] No "createMerchantSecurityActionRateLimit" export is defined on the "../../src/lib/rate-limit.js" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../../src/lib/rate-limit.js"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ src/routes/merchants.js:36:3
❯ src/app.js:12:32
|
|
tests/integration/auth.test.js > Unauthorized Access:
backend/tests/integration/auth.test.js#L32
TypeError: closePool is not a function
❯ tests/integration/auth.test.js:32:11
|
|
Frontend — Lint & Build
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, pnpm/action-setup@v3. 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/
|
|
Backend — Lint & Test
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 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/
|