diff --git a/.github/renovate.json b/.github/renovate.json index 0e88b00bf..f593e2103 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -41,11 +41,10 @@ "pinDigests": false }, { - "matchPackageNames": ["@vercel/ncc"], + "matchDepTypes": ["packageManager"], "postUpgradeTasks": { "commands": [ - "pnpm install --frozen-lockfile --ignore-scripts", - "pnpm run build" + "corepack use '{{{depName}}}@{{{newVersion}}}'" ] } } diff --git a/config.yaml b/config.yaml index 04ee65fe9..574ee2e1c 100644 --- a/config.yaml +++ b/config.yaml @@ -1,6 +1,7 @@ # yaml-language-server: $schema=https://docs.renovatebot.com/renovate-schema.json allowedPostUpgradeCommands: + - "^corepack use" - "^pnpm install --frozen-lockfile --ignore-scripts$" - "^pnpm run build$" onboardingConfigFileName: .renovaterc.json