Skip to content

Commit ba54fcf

Browse files
authored
ci(renovate): pin to Node.js LTS (#37)
1 parent 9a4270e commit ba54fcf

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/renovate.json5

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
description: ['Use the config preset for the @fro.bot/systematic repository'],
44
extends: ['local>marcusrbrown/renovate-config', 'github>sanity-io/renovate-config:semantic-commit-type'],
55
packageRules: [
6+
{
7+
description: 'Only allow LTS versions of @types/node (even major versions)',
8+
matchPackageNames: ['@types/node'],
9+
allowedVersions: '/^v?([0-9]*[02468])\\./',
10+
},
11+
{
12+
description: 'Only allow LTS versions of Node.js in GitHub Actions',
13+
matchManagers: ['github-actions'],
14+
matchPackageNames: ['node'],
15+
allowedVersions: '/^([0-9]*[02468])$/',
16+
},
617
{
718
matchPackageNames: [
819
'@semantic-release/{/,}**',

0 commit comments

Comments
 (0)