refactor: rename blog post to pitch #2079
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/
|