From a5d24a8d100b3a802d710efd658a4bca0edd34b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Wed, 18 Feb 2026 12:04:47 +0000 Subject: [PATCH] fix(ci): update snapshots on upgrade --- renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/renovate.json b/renovate.json index 69df10c93..ef5ffe05d 100644 --- a/renovate.json +++ b/renovate.json @@ -7,6 +7,7 @@ "timezone": "UTC", "automerge": false, "platformAutomerge": false, + "allowedPostUpgradeCommands": ["^npm ci && npm test -- -u$"], "packageRules": [ { "description": "Require dashboard approval for major updates", @@ -25,6 +26,15 @@ "matchPackageNames": ["/^bootstrap$/", "/^bootswatch$/"], "groupName": "bootstrap" }, + { + "description": "Update snapshots after npm upgrades", + "matchManagers": ["npm"], + "postUpgradeTasks": { + "commands": ["npm ci && npm test -- -u"], + "fileFilters": ["ui/src/**/__snapshots__/**"], + "executionMode": "branch" + } + }, { "description": "GitHub Actions", "matchManagers": ["github-actions"],