Skip to content

Refactor environment variables and package versions #187

Refactor environment variables and package versions

Refactor environment variables and package versions #187

Triggered via pull request September 16, 2024 17:18
Status Failure
Total duration 3m 18s
Billable time 6m
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
format
@app/auth#format: command (/home/runner/work/monorepo-platform/monorepo-platform/packages/auth) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
Process completed with exit code 1.
lint
Type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' does not satisfy the expected type 'NextAuthConfig'.
lint
Argument of type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' is not assignable to parameter of type 'NextAuthConfig | ((request: NextRequest | undefined) => Awaitable<NextAuthConfig>)'.
lint
Type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' does not satisfy the expected type 'NextAuthConfig'.
lint
Argument of type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' is not assignable to parameter of type 'NextAuthConfig | ((request: NextRequest | undefined) => Awaitable<NextAuthConfig>)'.
lint
Type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' does not satisfy the expected type 'NextAuthConfig'.
lint
Argument of type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' is not assignable to parameter of type 'NextAuthConfig | ((request: NextRequest | undefined) => Awaitable<NextAuthConfig>)'.
lint
Type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' does not satisfy the expected type 'NextAuthConfig'.
lint
Argument of type '{ secret: string | undefined; providers: OIDCConfig<DescopeProfile>[]; callbacks: { authorized({ request, auth }: { request: NextRequest; auth: Session | null; }): boolean; }; debug: boolean; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefined; adapter: Adapter; }' is not assignable to parameter of type 'NextAuthConfig | ((request: NextRequest | undefined) => Awaitable<NextAuthConfig>)'.
lint
@app/shared-api#build: command (/home/runner/work/monorepo-platform/monorepo-platform/packages/shared-api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
lint
@app/backoffice-api#build: command (/home/runner/work/monorepo-platform/monorepo-platform/packages/backoffice-api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
lint: packages/utils/src/mock/index.ts#L41
'd' is defined but never used. Allowed unused args must match /^_/u
lint: packages/utils/src/translations/translations.ts#L27
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L29
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L30
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L31
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L32
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L33
Unsafe member access .default on an `any` value
lint: packages/utils/src/translations/translations.ts#L34
Unsafe member access .default on an `any` value
lint: packages/store-backoffice/src/stores/fetcher/hook.tsx#L8
Unexpected any. Specify a different type
lint: packages/store-backoffice/src/stores/fetcher/store.ts#L44
'state' is defined but never used. Allowed unused args must match /^_/u