feat: module replacements v3 #7915
ci.yml
on: pull_request
π Lint project
29s
πͺ Type check
1m 9s
π§ͺ Unit tests
54s
π§ͺ Component tests
1m 56s
π₯οΈ Browser tests
3m 19s
π§Ή Unused code check
50s
π i18n validation
24s
Matrix: βΏ Accessibility audit
Annotations
11 errors and 6 warnings
|
π i18n validation
Process completed with exit code 1.
|
|
πͺ Type check:
test/nuxt/composables/use-compare-replacements.spec.ts#L22
Type '{ readonly forPackage: string; readonly replacement: { readonly type: "documented"; readonly url: string | { readonly type: "node" | "mdn" | "e18e"; readonly id: string; }; readonly replacementModule: string; readonly id: string; readonly engines?: readonly { ...; }[] | undefined; readonly preferred?: boolean | unde...' is not assignable to type 'ReplacementSuggestion[] | { forPackage: string; replacement: { type: "documented"; url: string | { type: "node" | "mdn" | "e18e"; id: string; }; replacementModule: string; id: string; engines?: { ...; }[] | undefined; preferred?: boolean | undefined; } | { ...; } | { ...; } | { ...; }; }[]'.
|
|
πͺ Type check:
test/nuxt/composables/use-compare-replacements.spec.ts#L21
Type '{ readonly forPackage: string; readonly replacement: { readonly type: "documented"; readonly url: string | { readonly type: "node" | "mdn" | "e18e"; readonly id: string; }; readonly replacementModule: string; readonly id: string; readonly engines?: readonly { ...; }[] | undefined; readonly preferred?: boolean | unde...' is not assignable to type 'ReplacementSuggestion[] | { forPackage: string; replacement: { type: "documented"; url: string | { type: "node" | "mdn" | "e18e"; id: string; }; replacementModule: string; id: string; engines?: { ...; }[] | undefined; preferred?: boolean | undefined; } | { ...; } | { ...; } | { ...; }; }[]'.
|
|
πͺ Type check:
app/pages/compare.vue#L334
Type '{ name: string; version: string | undefined; replacement: { readonly type: "documented"; readonly url: string | { readonly type: "node" | "mdn" | "e18e"; readonly id: string; }; readonly replacementModule: string; readonly id: string; readonly engines?: readonly { ...; }[] | undefined; readonly preferred?: boolean |...' is not assignable to type 'ComparisonGridColumn[]'.
|
|
πͺ Type check:
app/pages/compare.vue#L215
Type '{ readonly type: "documented"; readonly url: string | { readonly type: "node" | "mdn" | "e18e"; readonly id: string; }; readonly replacementModule: string; readonly id: string; readonly engines?: readonly { ...; }[] | undefined; readonly preferred?: boolean | undefined; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'ModuleReplacement'.
|
|
πͺ Type check:
app/pages/compare.vue#L202
Type '{ readonly type: "documented"; readonly url: string | { readonly type: "node" | "mdn" | "e18e"; readonly id: string; }; readonly replacementModule: string; readonly id: string; readonly engines?: readonly { ...; }[] | undefined; readonly preferred?: boolean | undefined; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'ModuleReplacement'.
|
|
πͺ Type check:
app/components/Compare/ReplacementSuggestion.vue#L50
Property 'replacement' does not exist on type 'SimpleModuleReplacement'.
|
|
πͺ Type check:
app/components/Compare/ReplacementSuggestion.vue#L43
Property 'nodeVersion' does not exist on type 'NativeModuleReplacement'.
|
|
πͺ Type check:
app/components/Compare/ReplacementSuggestion.vue#L42
Property 'replacement' does not exist on type 'NativeModuleReplacement'.
|
|
πͺ Type check:
app/components/Compare/ReplacementSuggestion.vue#L19
Property 'docPath' does not exist on type 'DocumentedModuleReplacement'.
|
|
πͺ Type check:
app/components/Compare/ReplacementSuggestion.vue#L18
Property 'docPath' does not exist on type 'DocumentedModuleReplacement'.
|
|
π Lint project
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
π§ͺ Unit tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
π§ͺ Unit tests
This action is being deprecated in favor of 'codecov-action'.
Please update CI accordingly to use 'codecov-action@v5' with
'report_type: test_results'.
The 'codecov-action' should and can be run at least once for
coverage and once for test results
|
|
πͺ Type check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
βΏ Accessibility audit (light)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
βΏ Accessibility audit (dark)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|