Skip to content

feat: module replacements v3 #7922

feat: module replacements v3

feat: module replacements v3 #7922

Triggered via pull request March 14, 2026 00:55
Status Failure
Total duration 3m 16s
Artifacts

ci.yml

on: pull_request
🔠 Lint project
28s
🔠 Lint project
💪 Type check
1m 13s
💪 Type check
🧪 Unit tests
46s
🧪 Unit tests
🧪 Component tests
1m 50s
🧪 Component tests
🖥️ Browser tests
3m 9s
🖥️ Browser tests
🧹 Unused code check
51s
🧹 Unused code check
🌐 i18n validation
27s
🌐 i18n validation
Matrix: ♿ Accessibility audit
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 8 warnings
💪 Type check
Process completed with exit code 2.
💪 Type check: test/nuxt/composables/use-compare-replacements.spec.ts#L24
Type 'Map<string, { 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 'Map<string, ModuleReplacement | null> | (Map<string, { type: "documented"; url: string | { type: "node" | "mdn" | "e18e"; id: string; }; replacementModule: string; id: string; engines?: { ...; }[] | undefined; preferred?: boolean | undefined; } | { ...; } | { ...; } | { ...; } | null> & Omit<...>)'.
💪 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'.
🌐 i18n validation
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
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
🧹 Unused code 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/
💪 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/
🧪 Component tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, 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/
♿ 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/
🖥️ Browser tests
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/