fix(ci): update snapshots on upgrade

This commit is contained in:
Łukasz Mierzwa
2026-02-18 12:04:47 +00:00
committed by GitHub
parent 80b2e98c36
commit a5d24a8d10

View File

@@ -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"],