Skip to content

feat(dashboard, ui): Support TypeScript in the playground #2845

feat(dashboard, ui): Support TypeScript in the playground

feat(dashboard, ui): Support TypeScript in the playground #2845

Triggered via pull request August 6, 2023 16:46
Status Failure
Total duration 13m 25s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 9 warnings
Typecheck
Property 'getReader' does not exist on type 'ReadableStream'.
Typecheck
@lagon/js-runtime#typecheck: command (/home/runner/work/lagon/lagon/packages/js-runtime) pnpm run typecheck exited (1)
Typecheck
Process completed with exit code 1.
Lint: packages/dashboard/pages/playground/[functionId].tsx#L3
'useEffect' is defined but never used
Lint
@lagon/dashboard#lint: command (/home/runner/work/lagon/lagon/packages/dashboard) pnpm run lint exited (1)
Lint
Process completed with exit code 1.
Lint: www/lib/components/sections/EdgeNetworkSection.tsx#L26
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: www/lib/components/sections/ExplainSection.tsx#L35
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: www/lib/components/sections/HomeSection.tsx#L62
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
Lint: www/mdx-components.tsx#L16
Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Lint: packages/dashboard/lib/hooks/useEsbuild.ts#L97
React Hook useCallback has unnecessary dependencies: 'esbuildStatus' and 'isEsbuildLoading'. Either exclude them or remove the dependency array
Lint: packages/dashboard/lib/hooks/useEsbuild.ts#L114
React Hook useCallback has unnecessary dependencies: 'esbuildStatus' and 'isEsbuildLoading'. Either exclude them or remove the dependency array
Lint: packages/dashboard/lib/hooks/useEsbuild.ts#L119
React Hook useEffect has a missing dependency: 'loadEsbuild'. Either include it or remove the dependency array
Lint: packages/dashboard/lib/pages/function/FunctionOverview.tsx#L125
React Hook useEffect has a missing dependency: 'calculateCron'. Either include it or remove the dependency array
Lint: packages/dashboard/locales/index.ts#L31
React Hook useEffect has a missing dependency: 'changeLocale'. Either include it or remove the dependency array