Dashboard › cli › Node version pinning convention: workfl…
019f03b9-97f4-7bb6-aeba-27fa5aeca79bAs of PR #1145, all GitHub Actions workflows in sentry-cli (TypeScript) centralize Node version pins as workflow-level env vars: NODE_VERSION_22: "22.23.1" and NODE_VERSION_24: "24.18.0". All actions/setup-node steps reference ${{ env.NODE_VERSION_22 }} or ${{ env.NODE_VERSION_24 }} — no bare "22"/"24" strings. Matrix jobs use ternary: ${{ matrix.node == '24' && env.NODE_VERSION_24 || env.NODE_VERSION_22 }}. Motivation: Node 24.17.0/22.23.0 shipped ERR_STREAM_PREMATURE_CLOSE regression (CVE-2026-48931 http.Agent fix); fixed in 24.18.0/22.23.1 (nodejs/node#64004). When bumping Node, update the env block in each workflow file.