Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI failed #14

Open
yuki0418 opened this issue Dec 8, 2024 · 0 comments
Open

CI failed #14

yuki0418 opened this issue Dec 8, 2024 · 0 comments

Comments

@yuki0418
Copy link

yuki0418 commented Dec 8, 2024

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/[email protected] lint: `prettier --check .`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant