Skip to content

Commit c6d1bf1

Browse files
committed
feature: @putout/plugin-github: drop support of node < 22
1 parent f76fb43 commit c6d1bf1

File tree

9 files changed

+2
-14
lines changed

9 files changed

+2
-14
lines changed

.github/workflows/nodejs-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
node-version:
12-
- 20.x
1312
- 22.x
1413
- 24.x
1514
- 25.x

.github/workflows/nodejs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
strategy:
1111
matrix:
1212
node-version:
13-
- 20.x
1413
- 22.x
1514
- 24.x
1615
- 25.x

packages/plugin-github/lib/set-node-versions/fixture/github-fix.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ __putout_processor_yaml({
55
"strategy": {
66
"matrix": {
77
"node-version": [
8-
"20.x",
98
"22.x",
109
"24.x",
1110
"25.x"

packages/plugin-github/lib/set-node-versions/fixture/overlap-fix.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ __putout_processor_yaml({
44
"runs-on": "ubuntu-latest",
55
"strategy": {
66
"matrix": {
7-
"node-version": [
8-
"20.x",
9-
"22.x",
10-
"24.x",
11-
"25.x"
12-
]
7+
"node-version": ["22.x", "24.x", "25.x"]
138
}
149
}
1510
}

packages/plugin-github/lib/set-node-versions/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const {
1111
} = operator;
1212

1313
const defaultVersions = [
14-
'20.x',
1514
'22.x',
1615
'24.x',
1716
'25.x',

packages/plugin-github/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"license": "MIT",
4848
"engines": {
49-
"node": ">=20"
49+
"node": ">=22"
5050
},
5151
"publishConfig": {
5252
"access": "public"

packages/plugin-github/test/fixture/set-node-version-fix.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ __putout_processor_yaml({
55
"strategy": {
66
"matrix": {
77
"node-version": [
8-
"20.x",
98
"22.x",
109
"24.x",
1110
"25.x"

packages/putout/putout.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
"github": "on",
8989
"github/set-node-versions": ["on", {
9090
"versions": [
91-
"20.x",
9291
"22.x",
9392
"24.x",
9493
"25.x"

packages/putout/test/config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ test('putout: config: .github/**/*.yml', (t) => {
233233
'github': 'on',
234234
'github/set-node-versions': ['on', {
235235
versions: [
236-
'20.x',
237236
'22.x',
238237
'24.x',
239238
'25.x',

0 commit comments

Comments
 (0)