From 41905dd1d40985ae5debd00be10466cd000e622b Mon Sep 17 00:00:00 2001 From: Tomas Balvin Date: Wed, 11 Oct 2023 15:20:34 +0200 Subject: [PATCH] ci: install all deps during Renovate upgrades (#141) 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 --- renovate.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/renovate.json b/renovate.json index 3f98013..44359d0 100644 --- a/renovate.json +++ b/renovate.json @@ -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" - } + ] }