Skip to content

CI failed #14

Open
Open
@yuki0418

Description

@yuki0418

Description

ci.yml の Lint Job が失敗するようになっています。
以下の2つのコマンドが失敗するようです。

  • pnpm -r package && pnpm check
  • pnpm lint

Errors

pnpm -r package && pnpm check のエラー

/home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:95:19
apps/svelte.dev check: Error: Property 'search' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 						name="search"
apps/svelte.dev check: 						value={data.search}
apps/svelte.dev check: 					/>
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:101:13
apps/svelte.dev check: Error: Property 'gists' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 
apps/svelte.dev check: 		{#if data.gists.length > 0}
apps/svelte.dev check: 			<ul class:selecting>
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:103:17
apps/svelte.dev check: Error: Property 'gists' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 			<ul class:selecting>
apps/svelte.dev check: 				{#each data.gists as gist}
apps/svelte.dev check: 					<li class:selected={selected.includes(gist.id)}>
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:124:15
apps/svelte.dev check: Error: Property 'next' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 				<!-- TODO more sophisticated pagination -->
apps/svelte.dev check: 				{#if data.next !== null && !selecting}
apps/svelte.dev check: 					<a
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:126:32
apps/svelte.dev check: Error: Property 'next' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 					<a
apps/svelte.dev check: 						href="/apps?offset={data.next}{data.search
apps/svelte.dev check: 							? `&search=${encodeURIComponent(data.search)}`
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:126:43
apps/svelte.dev check: Error: Property 'search' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 					<a
apps/svelte.dev check: 						href="/apps?offset={data.next}{data.search
apps/svelte.dev check: 							? `&search=${encodeURIComponent(data.search)}`
apps/svelte.dev check: 
apps/svelte.dev check: /home/runner/work/svelte.dev/svelte.dev/apps/svelte.dev/src/routes/(authed)/apps/+page.svelte:127:45
apps/svelte.dev check: Error: Property 'search' does not exist on type '{ nav_title: string; nav_links: NavigationLink[]; banner: BannerData; user: User | null; }'. (ts)
apps/svelte.dev check: 						href="/apps?offset={data.next}{data.search
apps/svelte.dev check: 							? `&search=${encodeURIComponent(data.search)}`
apps/svelte.dev check: 							: ''}">Next page...</a
apps/svelte.dev check: 
apps/svelte.dev check: 

pnpm -r lint のエラー

Scope: 4 of 5 workspace projects
packages/site-kit lint$ prettier --check .
packages/site-kit lint: Checking formatting...
packages/site-kit lint: [warn] src/lib/components/Text.svelte
packages/site-kit lint: [warn] src/lib/markdown/renderer.ts
packages/site-kit lint: [warn] src/lib/nav/Nav.svelte
packages/site-kit lint: [warn] src/lib/server/content/index.ts
packages/site-kit lint: [warn] src/lib/styles/base.css
packages/site-kit lint: [warn] Code style issues found in 5 files. Run Prettier with --write to fix.
packages/site-kit lint: Failed
/home/runner/work/svelte.dev/svelte.dev/packages/site-kit:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @sveltejs/site-kit@6.0.0-next.64 lint: `prettier --check .`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions