mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ci): update snapshots on upgrade
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user