feat: add GET /api/v1/courses/:id/prerequisites endpoint - #445
Merged
DeFiVC merged 2 commits intoAug 31, 2026
Annotations
11 errors and 1 warning
|
Upload coverage report
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Run tests with coverage:
src/config/index.ts#L87
ZodError: [
{
"validation": "regex",
"code": "invalid_string",
"message": "Invalid Stellar secret key format",
"path": [
"STELLAR_PLATFORM_SECRET"
]
}
]
❯ Object.get error [as error] node_modules/zod/v3/types.js:39:31
❯ ZodObject.parse node_modules/zod/v3/types.js:114:22
❯ loadConfig src/config/index.ts:87:24
❯ ensureConfig src/config/index.ts:116:15
❯ src/config/index.ts:123:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { validation: 'regex', code: 'invalid_string', message: 'Invalid Stellar secret key format', path: [ 'STELLAR_PLATFORM_SECRET' ] } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { STELLAR_PLATFORM_SECRET: [ 'Invalid Stellar secret key format' ] } } }
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading