Skip to content

feat(navigation): don't render navItems when no children #8711

feat(navigation): don't render navItems when no children

feat(navigation): don't render navItems when no children #8711

Re-run triggered March 15, 2026 18:53
Status Failure
Total duration 1m 26s
Artifacts

lint-and-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 2 warnings, and 4 notices
Quality checks
Process completed with exit code 2.
Quality checks
@node-core/ui-components#lint:types: command (/home/runner/work/nodejs.org/nodejs.org/packages/ui-components) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint:types exited (2)
Quality checks
'navItems' is possibly 'undefined'.
Quality checks
'navItems.length' is possibly 'undefined'.
Quality checks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda, step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a. 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/
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@a7487c7e89a18df4991f7f222e4898a00d66ddda, step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a. 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/
Tests
Total Tests: 157 Suites 📂: 48 Passed ✅: 157 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 29404.270ms
Tests
Total Tests: 35 Suites 📂: 15 Passed ✅: 35 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 19163.404ms
Tests
Total Tests: 50 Suites 📂: 8 Passed ✅: 50 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 2209.746ms
Tests
Total Tests: 4 Suites 📂: 4 Passed ✅: 4 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 533.326ms