Skip to content

Commit

Permalink
ci: renovate corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jun 27, 2024
1 parent cf929b4 commit 256bd05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@
"custom.regex"
],
"pinDigests": false
},
{
"matchPackageNames": ["@vercel/ncc"],
"postUpgradeTasks": {
"commands": [
"pnpm install --frozen-lockfile --ignore-scripts",
"pnpm run build"
]
}
}
],
"customManagers": [
Expand Down
8 changes: 8 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# 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

# HACK
packageRules:
- matchDepTypes: [packageManager]
postUpgradeTasks:
commands:
- "corepack use '{{{depName}}}@{{{newVersion}}}'"

0 comments on commit 256bd05

Please sign in to comment.