Skip to content

corrects posts.json to no longer have titles #682

corrects posts.json to no longer have titles

corrects posts.json to no longer have titles #682

Triggered via push October 14, 2024 21:21
Status Failure
Total duration 2m 18s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 16 warnings
outdated
Process completed with exit code 1.
src/lib/getArchives.spec.ts > getArchives > batches by month: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_nnyvcdp) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getArchives.spec.ts > getArchives > sets month label: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_cnb7axc) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getArchives.spec.ts > getArchives > properly batches by year: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_s0rbvch) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getArchives.spec.ts > getArchives > handles three posts in one month: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_6zldj7k) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getArchives.spec.ts > getArchives > sorts posts by date: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_oavmrem) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getPosts.spec.ts > getPosts > only loads sources once: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_p8npf7t) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getPosts.spec.ts > getPosts > fetches post content: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_43xomej) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getPosts.spec.ts > getPosts > sorts post by date descending: src/schemas/post.ts#L47
Error: (new) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getPosts.spec.ts > getPosts > includes excerpts: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_u7c6j3x) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
src/lib/getPosts.spec.ts > getPosts > excludes unpublished posts by default: src/schemas/post.ts#L47
Error: (doc.bmndr.co/the_source_7m3rx9j) : Title is not allowed in posts.json. Use frontmatter only. "BEGIN_MAGIC[The-Post-Name-Here]" ❯ Object.transform src/schemas/post.ts:47:13 ❯ ZodEffects._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3503:39 ❯ ZodEffects._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline._parse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:3725:43 ❯ ZodPipeline._parseSync node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:624:29 ❯ ZodPipeline.safeParse node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:654:29 ❯ src/lib/getPosts.ts:16:27 ❯ src/lib/getPosts.ts:34:19
test-snapshot
Process completed with exit code 1.
formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
formatting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
outdated
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
outdated
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
typescript
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
typescript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-snapshot
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-snapshot
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/