feat: Post API route testing and fine tuning #2254
ci.yaml
on: pull_request
build
2m 13s
lint
2m 59s
format
2m 4s
typecheck
3m 7s
Check Changeset
3m 36s
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
|