Skip to content

Commit

Permalink
ci: install all deps during Renovate upgrades (#141)
Browse files Browse the repository at this point in the history
Renovate only installs upgraded packages, but we need to install all
packages in order to be able to run post-upgrade commands. So this PR
adds `pnpm install` to the commands array
  • Loading branch information
Balvajs authored Oct 11, 2023
1 parent 560e1d3 commit 41905dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
{
"matchPackageNames": ["@types/node"],
"allowedVersions": "/^20\\..*$/"
},
{
"matchManagers": ["npm"],
"postUpgradeTasks": {
"commands": ["pnpm install", "pnpm generate", "pnpm package"],
"fileFilters": ["**/*"],
"executionMode": "branch"
}
}
],
"allowedPostUpgradeCommands": ["pnpm generate", "pnpm package"],
"postUpgradeTasks": {
"commands": ["pnpm generate", "pnpm package"],
"fileFilters": ["**/*"],
"executionMode": "branch"
}
]
}

0 comments on commit 41905dd

Please sign in to comment.