feat: add auditable data lifecycle and archive policy #127
ci.yml
on: pull_request
Lint, typecheck, format, test
39s
Annotations
2 errors and 1 warning
|
Lint, typecheck, format, test
Process completed with exit code 1.
|
|
tests/services/webhook.service.spec.ts:
src/audit/middleware.ts#L43
Error: [vitest] No "Prisma" export is defined on the "@prisma/client" 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("@prisma/client"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ createDataLifecycleExtension src/audit/middleware.ts:43:10
❯ createPrismaClient src/config/database.ts:32:46
❯ src/config/database.ts:37:42
❯ src/services/webhook.service.ts:2:1
|
|
Lint, typecheck, format, test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|