---
title: "Keeping Dependencies Up to Date with Renovate: Grouping, Automerge and Schedules"
description: "A practical Renovate setup for frontend and Node.js repos: grouping related packages, automerging safe updates, minimum release age, lockfile maintenance and handling majors."
url: https://sanderyaz.com/en/blog/renovate-dependency-updates/
author: Sander Yazıcıoğlu
date: 2026-12-05
updated: 2026-12-05
lang: en
tags: ["CI/CD","DevOps","JavaScript","Frontend"]
---

# Keeping Dependencies Up to Date with Renovate: Grouping, Automerge and Schedules

The hardest part of the Angular upgrades I have done was never a single breaking change. It was the distance. When a project sits on an old major version for years, every dependency drifts at once, and an upgrade becomes a project of its own instead of a Tuesday afternoon task. The fix is boring: update continuously, in small steps, with a bot doing the paperwork. This post is the Renovate setup I recommend for frontend and Node.js repositories, and the reasoning behind each line.

## Why Renovate (and when Dependabot is enough)

Both tools open pull requests for outdated dependencies. Dependabot is built into GitHub and needs almost no setup; for a small repo with few dependencies, it is enough. Renovate is more configurable: it groups packages that must move together, has a dependency dashboard issue, supports schedules, minimum release age and automerge rules per package, and understands monorepos well. Once a repo has more than a handful of PRs a week, those features are what keep the noise manageable.

## A starting configuration

Put this in `renovate.json` at the repo root:

```json
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:recommended"],
  "timezone": "Europe/Istanbul",
  "schedule": ["before 9am on monday"],
  "minimumReleaseAge": "3 days",
  "rangeStrategy": "pin",
  "lockFileMaintenance": { "enabled": true },
  "packageRules": [
    {
      "matchUpdateTypes": ["minor", "patch"],
      "matchCurrentVersion": "!/^0/",
      "automerge": true
    },
    {
      "matchDepTypes": ["devDependencies"],
      "matchUpdateTypes": ["minor", "patch"],
      "groupName": "dev dependencies (non-major)"
    },
    {
      "matchPackageNames": ["@types/**"],
      "groupName": "type definitions"
    }
  ]
}
```

What each part does:

| Setting | Effect |
| --- | --- |
| `config:recommended` | Sensible defaults, including grouping known monorepos such as Angular |
| `schedule` | PRs arrive once a week instead of all day |
| `minimumReleaseAge` | Waits a few days after a release, which filters out versions that get yanked or quickly patched |
| `rangeStrategy: pin` | Exact versions in `package.json` for apps, so builds are reproducible |
| `lockFileMaintenance` | Periodically refreshes transitive dependencies in the lockfile |
| automerge rule | Non-major updates of stable (1.0+) packages merge themselves when CI passes |

For a library you publish, do not pin; keep ranges so consumers can deduplicate.

## Grouping: fewer PRs that actually make sense

The most important rule is grouping packages that must be updated together. Angular is the classic case: `@angular/core`, `@angular/compiler`, `@angular/cli` and friends need the same version. `config:recommended` already includes the Angular monorepo group, so they arrive as one PR. Add your own groups for families the presets do not know, for example a UI kit split into several packages, or `eslint` with its plugins.

Grouping all dev dependencies into one weekly PR is also worth it. Individually, a patch to a lint plugin is not worth a review; together, they are one quick check.

## Automerge needs a real safety net

Automerge is only as safe as your CI. Before turning it on, make sure:

- Branch protection requires the build, unit tests and at least a smoke E2E run. Renovate waits for those checks to pass before merging.
- The lockfile is committed and CI uses `npm ci`, so the tested tree is the merged tree.
- A performance or bundle-size check exists if size matters to you. A [Lighthouse CI budget](/en/blog/lighthouse-ci-performance-budgets/) catches a dependency that suddenly doubles the bundle.

The [GitHub Actions frontend CI guide](/en/blog/github-actions-frontend-ci/) covers building a pipeline fast enough that a weekly batch of Renovate PRs does not clog it.

I do not automerge `0.x` packages (the `matchCurrentVersion` rule above), because semver allows breaking changes in minors there.

## Majors: deliberate, not automatic

Major updates should never automerge. What helps is making them visible and small:

- The **Dependency Dashboard** issue lists pending and rate-limited updates in one place, so a major does not hide in a closed PR.
- Read the changelog and run the official migration tool where one exists. For Angular that is `ng update`, one major at a time, as described in the [Angular upgrade guide](/en/blog/angular-upgrade-guide/).
- Merge the major alone. Mixing it with unrelated updates makes a failing build hard to bisect.

If a major cannot be done now, tell Renovate rather than closing the PR every week:

```json
{
  "matchPackageNames": ["typescript"],
  "matchUpdateTypes": ["major"],
  "enabled": false,
  "description": "Blocked until the build tooling supports it. Revisit in Q1."
}
```

The `description` field documents why, which matters when someone else opens the config in six months.

## Security updates skip the queue

Vulnerability fixes should not wait for Monday. Renovate's `vulnerabilityAlerts` settings let those PRs bypass the schedule and get a label:

```json
"vulnerabilityAlerts": {
  "labels": ["security"],
  "schedule": ["at any time"]
}
```

`npm audit` in CI is still useful as a backstop, but a PR that fixes the issue is better than a red job that only reports it.

## Keeping the noise down

A few habits keep the bot from becoming background noise that everyone ignores:

- Set `prConcurrentLimit` (for example, 5) so a long-neglected repo does not get thirty PRs on day one.
- Review the weekly grouped PRs on a fixed day, as a team habit, like code review.
- When an update breaks something, fix it or add a rule with a reason. Never leave a red Renovate PR open for weeks; that teaches everyone to ignore them.

## Conclusion

Small, regular updates are cheaper than rare, large ones. A Renovate config with a weekly schedule, a minimum release age, sensible groups, pinned versions for apps and automerge only for stable non-major updates removes most of the work. Majors stay deliberate and documented, security fixes skip the queue, and the next big framework upgrade starts from a codebase that is only one step behind.

---

About the author: [Sander Yazıcıoğlu](https://sanderyaz.com/en/about/). Sander Yazıcıoğlu is a Senior Full-Stack Developer in Istanbul. At LiveTesting he builds the backend, frontend, realtime systems and Appium automation of a real-device testing platform; before that he built enterprise Angular apps at Testinium and Loadium.
