Skip to content

refactor: rename blog post to pitch #2079

refactor: rename blog post to pitch

refactor: rename blog post to pitch #2079

Triggered via push October 15, 2024 08:28
Status Failure
Total duration 54s
Artifacts

ci.yml

on: push
Unit tests
44s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Unit tests: src/api/embedsApi.ts#L28
Module '"@ndla/types-embed"' has no exported member 'PitchMetaData'.
Unit tests: src/api/embedsApi.ts#L456
This comparison appears to be unintentional because the types '"comment" | "blog-post" | "campaign-block" | "contact-block" | "copyright" | "key-figure" | "link-block" | "uu-disclaimer"' and '"pitch"' have no overlap.
Unit tests: src/utils/toArticleMetaData.ts#L232
Type '"pitch"' is not comparable to type '"file" | "audio" | "iframe" | "image" | "external" | "comment" | "blog-post" | "brightcove" | "campaign-block" | "code-block" | "h5p" | "concept" | "concept-list" | "contact-block" | ... 6 more ... | "uu-disclaimer"'.
Unit tests
Process completed with exit code 2.
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/