I read 65 CI files from 30 popular npm packages. 13 still run an end‑of‑life Node
Описание и применение
Автор проанализировал 65 файлов CI из 30 популярных npm‑пакетов и обнаружил, что 13 из них используют устаревшие версии Node, что может привести к уязвимостям и несовместимости.
Задача
Many popular npm packages still run tests on deprecated Node versions, misleading CI badge green status.
Результат
Out of 65 CI files, 13 still run tests on Node versions that are no longer supported, exposing potential security and compatibility risks.
Рабочий процесс
- 1. Clone or fetch .github/workflows/*.yml from target repos
- 2. Parse YAML to extract Node matrix entries
- 3. Compare each Node version against current LTS support
- 4. Detect obsolete or invalid entries (e.g., missing matrix rows, wrong locale names)
- 5. Report findings with actionable suggestions
Доказательства
Thirteen of those 65 files execute at least one end‑of‑life Node somewhere.
Both files still call actions/checkout@v2 and actions/setup-node@v2. The current major is v7.
- Дата записи: 2026-09-22T14:15:34.382Z