Skip to content

Commit 0f674d5

Browse files
committed
feature: @putout/plugin-github: set-node-versions: v24 (https://nodejs.org/en/blog/release/v24.0.0)
1 parent 1fa06c2 commit 0f674d5

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/nodejs-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
node-version:
1212
- 20.x
1313
- 22.x
14-
- 23.x
14+
- 24.x
1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: oven-sh/setup-bun@v1

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
node-version:
1313
- 20.x
1414
- 22.x
15-
- 23.x
15+
- 24.x
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: oven-sh/setup-bun@v1

packages/plugin-github/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979

8080
strategy:
8181
matrix:
82-
- node-version: [18.x, 20.x, 22.x, 23.x]
83-
+ node-version: [20.x, 22.x, 23.x]
82+
- node-version: [18.x, 20.x, 22.x]
83+
+ node-version: [20.x, 22.x, 24.x]
8484
```
8585

8686
You can override versions with:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ __putout_processor_yaml({
77
"node-version": [
88
"20.x",
99
"22.x",
10-
"23.x"
10+
"24.x"
1111
]
1212
}
1313
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const {
1111
const defaultVersions = [
1212
'20.x',
1313
'22.x',
14-
'23.x',
14+
'24.x',
1515
];
1616

1717
const {parse, stringify} = JSON;

packages/plugin-github/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"supertape": "^11.0.3"
4343
},
4444
"peerDependencies": {
45-
"putout": ">=39"
45+
"putout": ">=40"
4646
},
4747
"license": "MIT",
4848
"engines": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ __putout_processor_yaml({
77
"node-version": [
88
"20.x",
99
"22.x",
10-
"23.x"
10+
"24.x"
1111
]
1212
}
1313
}

packages/putout/putout.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"versions": [
8888
"20.x",
8989
"22.x",
90-
"23.x"
90+
"24.x"
9191
]
9292
}],
9393
"remove-useless-escape": "off"

packages/putout/test/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ test('putout: config: .github/**/*.yml', (t) => {
232232
versions: [
233233
'20.x',
234234
'22.x',
235-
'23.x',
235+
'24.x',
236236
],
237237
}],
238238
'remove-useless-escape': 'off',

0 commit comments

Comments
 (0)