Skip to content

Commit 3f4354c

Browse files
chore: update corepack installation in CI workflows
1 parent cd012bc commit 3f4354c

File tree

3 files changed

+10
-31
lines changed

3 files changed

+10
-31
lines changed

.github/workflows/autofix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- run: corepack enable
16+
- run: npm i -g --force corepack && corepack enable
1717
- uses: actions/setup-node@v4
1818
with:
1919
node-version: '22'

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v4
3131

32-
- run: corepack enable
32+
- run: npm i -g --force corepack && corepack enable
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: '22'

renovate.json

+8-29
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:base",
5+
":widenPeerDependencies"
56
],
67
"baseBranches": [
78
"main"
@@ -10,20 +11,13 @@
1011
"node",
1112
"pnpm"
1213
],
13-
"rebaseWhen": "auto",
14-
"rangeStrategy": "bump",
1514
"packageRules": [
1615
{
1716
"groupName": "all digest updates",
1817
"groupSlug": "all-digest",
1918
"matchPackagePatterns": [
2019
"*"
2120
],
22-
"matchDepTypes": [
23-
"devDependencies",
24-
"dependencies",
25-
"packageManager"
26-
],
2721
"automerge": true,
2822
"matchUpdateTypes": [
2923
"digest"
@@ -33,37 +27,27 @@
3327
]
3428
},
3529
{
36-
"groupName": "all patch updates",
37-
"groupSlug": "all-patch",
30+
"groupName": "all minor updates",
31+
"groupSlug": "all-minor",
3832
"matchPackagePatterns": [
3933
"*"
4034
],
4135
"matchUpdateTypes": [
42-
"patch"
43-
],
44-
"matchDepTypes": [
45-
"devDependencies",
46-
"dependencies",
47-
"packageManager"
36+
"minor"
4837
],
4938
"automerge": true,
5039
"schedule": [
5140
"every 6 month"
5241
]
5342
},
5443
{
55-
"groupName": "all minor updates",
56-
"groupSlug": "all-minor",
44+
"groupName": "all patch updates",
45+
"groupSlug": "all-patch",
5746
"matchPackagePatterns": [
5847
"*"
5948
],
6049
"matchUpdateTypes": [
61-
"minor"
62-
],
63-
"matchDepTypes": [
64-
"devDependencies",
65-
"dependencies",
66-
"packageManager"
50+
"patch"
6751
],
6852
"automerge": true,
6953
"schedule": [
@@ -76,11 +60,6 @@
7660
"matchPackagePatterns": [
7761
"*"
7862
],
79-
"matchDepTypes": [
80-
"devDependencies",
81-
"dependencies",
82-
"packageManager"
83-
],
8463
"matchUpdateTypes": [
8564
"major"
8665
],

0 commit comments

Comments
 (0)