Between July and November 2026, npm, Node.js, and GitHub Actions all shipped changes that affect how JavaScript applications get built. None of them touch application code, so they're easy to overlook during a normal release cycle. A little planning now keeps them from turning into surprises later.
Four changes matter most. npm 12 stopped automatically running setup code that comes with third-party packages. Node.js, the engine that runs most JavaScript build tools, shipped a security release that left its end-of-life versions unpatched. Node.js 26 became the newest long-term support line, and GitHub moved its default build machine, ubuntu-latest, to Ubuntu 26.04.
At Curious Minds Media, we treat the build pipeline as part of the application we maintain. This post explains what changed and what it means for any website or application with a JavaScript build step, from WordPress themes to custom web applications. It then answers two larger questions: what happens when a JavaScript framework reaches end of life, and how to tell whether an app needs a refactor or a rewrite.
What changed in the JavaScript build toolchain this fall?
npm 12 no longer runs setup code from third-party packages, or installs packages from outside the npm registry, unless a project approves them.
Node.js shipped security fixes on October 21 and November 11 for versions 22, 24, and 26 only.
Node.js 26 is the newest long-term support (LTS) version, and starting with Node.js 27, Node.js will ship one major release a year, each with long-term support.
GitHub Actions' default build machine (ubuntu-latest) now runs Ubuntu 26.04, with Node.js 24 as its default.
npm 12 makes install-time trust an explicit decision
npm is the tool JavaScript projects use to download the third-party code they depend on. Version 12 no longer lets that code run its own setup steps unless the project approves it first.
GitHub released npm 12 on July 8, 2026, and tagged it as the latest version on the npm registry. By default, npm install no longer runs dependency install scripts (preinstall, install, and postinstall) or implicit node-gyp builds. Git dependencies and remote tarball dependencies also stop resolving unless a project allows them.
The change is a supply chain defense. Malicious packages have used install scripts for years, because npm install ran them automatically on every developer machine and build server that pulled the package. Now a project has to approve them.
For a build, the risk is a quiet failure. A dependency that compiles native code or downloads a platform binary can install without an error, then break a later step that can't find what it expected.
The fix is to review what needs to run and commit the approval. The command npm approve-scripts --allow-scripts-pending lists what is waiting, and the approved list lives in package.json, where it gets reviewed like any other change. Since npm 11.16.0, npm has printed warnings for everything npm 12 would block, so recent build logs already show what will break. Our team flagged npm 12 internally in June, the day after GitHub announced the change.
Whether a pipeline runs npm 12 at all depends on how it gets npm. The Node.js release team decided not to bundle npm 12 with Node.js 22, 24, or 26, judging it too disruptive for those lines. A workflow that uses the npm shipped with Node.js stays on npm 11, while a job that runs npm install -g npm@latest picked up npm 12 in July. Dependabot added support for npm 12 on October 20, so projects that rely on it for dependency updates can upgrade without losing them.
That means two pipelines for the same project can install dependencies under different rules. We recommend printing node -v and npm -v at the start of every build job, so the versions are in the log when something breaks. Running npm ci instead of npm install in those jobs helps too, because it installs exactly what package-lock.json lists and stops with an error when that file doesn't match package.json.
This part only matters if your team publishes its own packages to npm.
Teams that publish packages from a pipeline using granular access tokens set to bypass two-factor authentication have one more date to track. Since July 31, those tokens can no longer perform sensitive account, organization, or package management actions without an interactive two-factor check, and around January 2027 they are expected to lose the ability to publish directly. For automated publishing, GitHub recommends trusted publishing through OIDC, or staged publishing with a human approval step. If a team can't move to trusted publishing yet, GitHub's stage-only tokens, added September 18, let a workflow submit a version that a maintainer then approves with two-factor authentication.
Node.js shipped a security release and changed its support windows
On October 21, Node.js released security updates for its 22, 24, and 26 lines that fix ten vulnerabilities. The most serious, CVE-2026-111497, is a flaw in Brotli, the compression library built into Node.js, that could let an attacker run their own code on an affected server.
The fixed versions are 22.23.4, 24.22.1, and 26.12.1. End-of-life versions, including Node.js 18 and 20, got no fix. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) added the flaw to its list of actively exploited vulnerabilities on October 27. Node.js followed with a second security release on November 11 that fixes 16 more vulnerabilities, with fixes in 22.23.5, 24.22.3, and 26.13.1.
We flagged this to our team the same morning. The flaw reaches WordPress themes built with Sage or other Node-based tooling, headless and JavaScript framework builds, custom Node.js applications, and the build servers and container images that compile them.
Exposure depends on where Node.js runs. For a theme or app that only uses Node.js to compile files at build time, and doesn't run it on the server, the risk is much smaller than for a live Node.js server. On one maintained site in that position, we folded the upgrade into a rebuild that was already scheduled.
The upgrade still matters, because a build environment stuck on an unsupported version won't get the next fix either. When we move a build to a new Node.js version, we check more than whether it runs.
On one client application in November, we moved the build environment to Node.js 24 LTS and confirmed that dependency installs and both development and production builds passed. We then compared the production files against the ones the previous version produced. They were identical, so the upgrade could ship without changing how the application behaves.
The support calendar moved in the same weeks. According to the Node.js release schedule, Node.js 24 entered maintenance on October 20 and reaches end of life on April 30, 2028. Node.js 26 became the LTS line on October 28 and is supported through April 2029. For older lines, Node.js 22 reaches end of life on April 30, 2027, and Node.js 20 already reached it on April 30, 2026.
The schedule itself is changing. Node.js 26 is the last line released under the old model of two major releases a year. Starting with Node.js 27, the project ships one major release each April, promotes it to LTS in October, and makes every release an LTS release.
For planning, the Node.js version a project builds on becomes a dependency with a published expiration date. The dates are announced years in advance, so upgrades can go on the calendar instead of happening in response to an advisory.
ubuntu-latest now means Ubuntu 26.04
GitHub Actions is the service that automatically builds and tests code each time someone makes a change. This fall, GitHub upgraded the default machine those builds run on.
GitHub made the Ubuntu 26.04 runner image generally available on September 17. It then moved the ubuntu-latest label for GitHub-hosted x64 runners from Ubuntu 24.04 to 26.04 in a gradual rollout between October 19 and November 19.
Any workflow that uses runs-on: ubuntu-latest now runs on the new image, with no change to the workflow file.
A runner image is a full operating system with tools preinstalled, so the label change brought version changes with it. According to GitHub's runner image notes, the default Node.js on Ubuntu 26.04 moved from 22 to 24, PHP moved from 8.3 to 8.5, and Python moved to 3.14. Several npm packages that older workflows used without installing, including typescript, webpack, gulp, grunt, and lerna, are no longer on the image.
The PHP change matters for WordPress teams in particular. Many WordPress build workflows run Composer and PHPUnit, PHP's package manager and testing tool, on whatever PHP the runner provides.
GitHub recommends testing on ubuntu-26.04 and pinning ubuntu-24.04 for any workflow that needs to stay on the previous image. A pin buys time, and GitHub has retired older Ubuntu images before, so we recommend giving every pin a date to revisit it. Workflows still pinned to ubuntu-22.04 have a firmer deadline: GitHub began retiring that image on September 17 and stops supporting it on April 17, 2027.
Why the build pipeline belongs in your maintenance plan
In each of these cases, the build environment changed while the application code stayed the same. Many build setups ask for "the latest version" instead of naming one, so the software underneath changes whenever the vendor ships an update. Settings such as ubuntu-latest, npm@latest, and lts/* all point to different software today than they did in June.
We see the effect when we take on new work. Roughly 85 percent of the sites that come to us arrive in a distressed state, which is why we review deployment processes as part of every technical audit.
On the sites and applications we maintain, GitHub Actions failures and deployment monitoring go to a single incidents channel reserved for actionable alerts. A broken build reaches the engineer responsible for it on the day it breaks.
We also recommend pinning runner images and Node.js versions in workflow files, so a version change arrives as a proposed change that someone reviews before it goes live. Warnings a tool prints ahead of a breaking release, like the ones npm 11.16.0 added before npm 12, should become work items with dates attached.
What happens when a JavaScript framework reaches end of life?
When a JavaScript framework reaches end of life, its maintainers stop releasing security patches and bug fixes. The application keeps running, but new vulnerabilities stay open, libraries drop support for it, and developers who know it get harder to hire. Its build tooling also gradually stops working on current versions of Node.js, npm, and continuous integration (CI) runner images.
October's Node.js release shows what that looks like. Teams still building on Node.js 20 had no patched version to install, so their choice was to upgrade on short notice or accept the risk. GitHub had already removed Node 20 from its Actions runners on September 23, and JavaScript actions now run on Node 24 with no option to opt out.
Frameworks follow the same pattern. AngularJS reached the end of its long-term support after December 31, 2021, and Vue 2 reached end of life on December 31, 2023. AngularJS's final release, 1.8.3, shipped in April 2022 only to update its package README files on npm. Applications on either framework still load and work today.
What breaks first is usually the tooling around the application. The build relies on older tools that package and convert the code for browsers, and those tools depend on add-ons that have to be compiled for each machine. Eventually, those add-ons stop compiling on the Node.js version a CI runner ships by default. A change like npm 12 or Ubuntu 26.04 tends to surface that drift all at once, as a failed build on a routine deploy.
Each workaround narrows the next option. Pinning an old Node.js version works until that version stops getting fixes, and pinning a runner image works until GitHub retires it. Eventually the team is maintaining a custom build setup whose only job is to recreate an environment nobody else supports.
The Node.js project lists the same consequences for its own end-of-life versions. They include no more security fixes, packages dropping support, toolchains that stop linking cleanly to newer libraries, and industry audits that don't allow unmaintained runtimes. It also notes that commercial security support for end-of-life versions exists, and that it should be treated as temporary while a team upgrades.
Some vendors sell similar extended support for end-of-life frameworks, including AngularJS. It is most useful when a replacement date is already set. Until then, an end-of-life application needs someone watching security advisories, keeping its build reproducible, and putting a replacement on the budget calendar before a forced deadline sets the schedule.
We have planned around this before. Curious Minds Media built its early reputation on Flash. As mobile changed the web, Eric Meyer led the company's move to JavaScript-based frameworks, years before Adobe ended Flash support at the end of 2020.
How to know if a JavaScript app needs a rewrite or a refactor
A JavaScript app usually needs a refactor when its framework still has a supported upgrade path and its business logic can be separated from the interface and tested. It usually needs a rewrite when the framework is end of life with no migration path, or when the build can no longer run on supported tooling without replacing most of it.
We look at four questions before recommending either one.
Is there a supported migration path? Vue 2 to Vue 3 has an official migration build that lets teams move one component at a time. Modern Angular is a different framework from AngularJS, so moving between them generally means rebuilding the front end.
Can the build run on a supported runtime? If moving to Node.js 24 or 26 means replacing the bundler, the test runner, and most of the development dependencies, a refactor starts to look like a rebuild. Price both before committing to either.
Where does the business logic live? When pricing rules, validation, and data handling are spread through interface components, a rewrite has to rediscover all of it. The usual result is a new application that behaves differently from the old one in ways nobody intended. A rewrite also starts without tests of its own, so nothing catches those differences until someone writes them.
Separating that logic and putting tests around it is often the most valuable first step either way. It is the same principle behind keeping vendor code at the edges of a system.
Who will maintain the result? A framework that matches the skills of the team that will own the code is worth more than a technically stronger option nobody on that team knows well.
The choice is rarely all or nothing. Many teams replace an application in stages, moving one route, screen, or feature at a time while the old version keeps serving the rest. This is often called the strangler fig pattern.
Staged replacement takes more coordination than a clean rewrite. It avoids the largest cost of a full rewrite, which is maintaining two complete systems while the new one catches up with changes still being made to the old one.
We make this call after reviewing the codebase and its dependencies, because the answer depends on details that only show up in the code. Long-lived framework applications can stay healthy for years with continuous maintenance. Local Lens runs its destination photography booking application on EmberJS, and we continue to maintain and extend it as the platform grows into new destinations.
Questions to ask your team or technical partner
A few questions will show whether your build pipeline and JavaScript applications are being maintained.
Ask which Node.js version each application builds on, and when that version reaches end of life. Find out whether your workflows use moving labels such as ubuntu-latest, and who reviews the change when a label moves.
Check whether anyone has read the npm warnings in recent build logs. Ask which applications run on a framework that no longer gets security fixes, and whether a refactor or replacement for each one is on the budget calendar. If those answers aren't clear, that's the place to start.
Working with Curious Minds Media
Curious Minds Media has built and maintained websites and web applications since 2004. Our in-house, US-based engineers maintain the build pipelines, runtimes, and dependencies behind the WordPress themes and JavaScript applications in our care, so a toolchain change gets planned before it breaks a deploy.
You may have a JavaScript application on an aging framework, or a build nobody on your current team set up. Our JavaScript development team can help you decide whether it needs a refactor or a rewrite.