setup authenticity token provider #8
deploy.yml
on: push
⬣ ESLint
34s
ʦ TypeScript
34s
⚡ Vitest
36s
🎭 Playwright
1m 5s
🚀 Deploy
0s
Annotations
16 errors and 15 warnings
ʦ TypeScript:
app/modules/auth/auth.server.ts#L48
Type '{ id: string; email: string; username: string; name: string | null; createdAt: Date; updatedAt: Date; }' is not assignable to type '{ image: { id: string; } | null; roles: { name: string; }[]; } & { id: string; email: string; username: string; name: string | null; createdAt: Date; updatedAt: Date; }'.
|
ʦ TypeScript:
app/modules/auth/auth.server.ts#L49
Type '{ roles: { connect: { name: string; }[]; }; email: string; }' is not assignable to type '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)'.
|
ʦ TypeScript:
app/modules/auth/auth.server.ts#L91
Type '{ id: string; email: string; username: string; name: string | null; createdAt: Date; updatedAt: Date; }' is not assignable to type '{ image: { id: string; } | null; roles: { name: string; }[]; } & { id: string; email: string; username: string; name: string | null; createdAt: Date; updatedAt: Date; }'.
|
ʦ TypeScript:
app/modules/auth/auth.server.ts#L92
Type '{ roles: { connect: { name: string; }[]; }; email: string; }' is not assignable to type '(Without<UserCreateInput, UserUncheckedCreateInput> & UserUncheckedCreateInput) | (Without<...> & UserCreateInput)'.
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L21
Module '"./verify.tsx"' has no exported member 'VerifySchema'. Did you mean to use 'import VerifySchema from "./verify.tsx"' instead?
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L22
Module '"./verify.tsx"' has no exported member 'codeQueryParam'. Did you mean to use 'import codeQueryParam from "./verify.tsx"' instead?
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L23
Module '"./verify.tsx"' has no exported member 'redirectToQueryParam'. Did you mean to use 'import redirectToQueryParam from "./verify.tsx"' instead?
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L24
Module '"./verify.tsx"' has no exported member 'targetQueryParam'. Did you mean to use 'import targetQueryParam from "./verify.tsx"' instead?
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L25
Module '"./verify.tsx"' has no exported member 'typeQueryParam'. Did you mean to use 'import typeQueryParam from "./verify.tsx"' instead?
|
ʦ TypeScript:
app/routes/_auth+/verify.server.ts#L26
Module '"./verify.tsx"' has no exported member 'VerificationTypes'. Did you mean to use 'import VerificationTypes from "./verify.tsx"' instead?
|
⬣ ESLint:
app/routes/_auth+/login.tsx#L174
Use `<Link to>` when linking within the app. If you want for force a full page load, use `<Link to=... reloadDocument>`
|
⬣ ESLint:
app/routes/_auth+/login.tsx#L178
Use `<Link to>` when linking within the app. If you want for force a full page load, use `<Link to=... reloadDocument>`
|
⬣ ESLint
Process completed with exit code 1.
|
app/routes/_auth+/auth.$provider.callback.test.ts > if a user is not logged in, but the connection exists and they have enabled 2FA, send them to verify their 2FA and do not make a session:
app/routes/_auth+/auth.$provider.callback.test.ts#L211
Error: Expected response to redirect to "/verify?type=2fa&target=clwxq7fte000pd0ch09kyhzk8&redirectTo=%2F" but got "/verify?undefined=%2F"
❯ app/routes/_auth+/auth.$provider.callback.test.ts:211:19
|
⚡ Vitest
Process completed with exit code 1.
|
🎭 Playwright
Process completed with exit code 1.
|
ʦ TypeScript
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
⬣ ESLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
⬣ ESLint:
app/root.tsx#L5
`@remix-run/node` import should occur before import of `remix-utils/csrf/react`
|
⬣ ESLint:
app/root.tsx#L13
`@remix-run/react` import should occur before import of `remix-utils/csrf/react`
|
⬣ ESLint:
app/root.tsx#L27
`@sentry/remix` import should occur before import of `remix-utils/csrf/react`
|
⬣ ESLint:
app/root.tsx#L28
`react` import should occur before import of `remix-utils/csrf/react`
|
⬣ ESLint:
app/root.tsx#L58
`#app/utils/csrf.server` import should occur before import of `./components/error-boundary.tsx`
|
⬣ ESLint:
app/routes/_auth+/magic-link.tsx#L1
Prefer using inline type specifiers instead of a top-level type-only import
|
⬣ ESLint:
app/routes/_auth+/verify.tsx#L1
Prefer using inline type specifiers instead of a top-level type-only import
|
⬣ ESLint:
app/routes/_auth+/verify.tsx#L5
'/home/runner/work/sovoli/sovoli/node_modules/@remix-run/node/dist/index.js' imported multiple times
|
⬣ ESLint:
app/routes/_auth+/verify.tsx#L7
`@remix-run/react` import should occur before import of `react`
|
⬣ ESLint:
app/routes/_auth+/verify.tsx#L8
`@remix-run/node` import should occur before import of `react`
|
⚡ Vitest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|