Skip to content

feat: Post API route testing and fine tuning #2254

feat: Post API route testing and fine tuning

feat: Post API route testing and fine tuning #2254

Triggered via pull request January 18, 2025 19:56
Status Failure
Total duration 3m 45s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 15 warnings
build
ai-hero#test: command (/home/runner/work/course-builder/course-builder/apps/ai-hero) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
build
Process completed with exit code 1.
typecheck
Spread types may only be created from object types.
typecheck
Spread types may only be created from object types.
typecheck
'updatedPost' is possibly 'undefined'.
typecheck
'updatedPost' is possibly 'undefined'.
typecheck
ai-hero#typecheck: command (/home/runner/work/course-builder/course-builder/apps/ai-hero) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (1)
typecheck
'deletedPost' is possibly 'undefined'.
typecheck
Type 'undefined' cannot be used as an index type.
typecheck
'body' is possibly 'null' or 'undefined'.
typecheck
Property 'title' does not exist on type 'string | number | boolean | Record<string, any> | DefaultRequestMultipartBody'.
typecheck
'body' is possibly 'null' or 'undefined'.
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: cli/src/cli/index.ts#L83
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/base.ts#L51
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/with-drizzle.ts#L55
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/with-prisma.ts#L54
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/base.ts#L52
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/with-drizzle.ts#L56
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/with-prisma.ts#L55
Comment is not formatted correctly
lint: cli/template/extras/src/trpc/server.ts#L39
Comment is not formatted correctly
lint: cli/template/extras/src/utils/api.ts#L24
Comment is not formatted correctly
lint: cli/template/extras/src/utils/api.ts#L31
Comment is not formatted correctly
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Changeset
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636