Skip to content

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

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

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

Triggered via pull request August 6, 2023 16:40
Status Cancelled
Total duration 7m 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 13 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
@lagon/dashboard#typecheck: command (/home/runner/work/lagon/lagon/packages/dashboard) pnpm run typecheck exited (1)
Typecheck
Argument of type '{ functionId: string; functionSize: number; tsSize: number; platform: string; assets: never[]; }' is not assignable to parameter of type '{ functionId: string; assets: { name: string; size: number; }[]; functionSize: number; tsSize: number; }'.
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.
Build
Canceling since a higher priority waiting request for 'CI-refs/pull/919/merge' exists
Build
The operation was canceled.
Test
Canceling since a higher priority waiting request for 'CI-refs/pull/919/merge' exists
Test
The operation was canceled.
Lint
Cache does not exist using key setup-rustcargo-v1-linux-851027e1788257388af7df7fc1a0041c5088262a
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
Build
Cache does not exist using key setup-rustcargo-v1-linux-3e44ab323daff701070f143ecae320f056304659
Build
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
Test
Cache does not exist using key setup-rustcargo-v1-linux-1b8d2fd99837cc857a3ed13d6079f85bb4464af3