Skip to content

Commit 3ebe04b

Browse files
authored
feat: update to nodejs 24 (#1039)
Signed-off-by: Olivier Vernin <me@olblak.com>
1 parent ebd0266 commit 3ebe04b

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212
branches:
1313
- v2
1414
paths-ignore:
15-
- '**.md'
15+
- "**.md"
1616
pull_request:
1717
paths-ignore:
18-
- '**.md'
18+
- "**.md"
1919
workflow_dispatch:
2020
jobs:
2121
check-dist:
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set Node.js 20.x
2626
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2727
with:
28-
node-version: 20
28+
node-version: 24
2929
cache: npm
3030
- name: Install dependencies
3131
run: npm ci

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set Node.js 20.x
1717
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
1818
with:
19-
node-version: 20
19+
node-version: 24
2020
cache: npm
2121
- name: Install Dependencies
2222
run: npm ci

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ inputs:
1111
version-file:
1212
description: 'The path to the `.updatecli-version` file. See examples of supported syntax in README file'
1313
runs:
14-
using: 'node20'
14+
using: 'node24'
1515
main: 'dist/index.js'

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.0.0",
44
"description": "* [Usage](#usage) * [Workflow](#workflow) * [License](#license)",
55
"main": "index.js",
6+
"engines": {
7+
"node": ">=24"
8+
},
69
"scripts": {
710
"lint": "eslint .",
811
"prepare": "ncc build index.js -o dist --source-map --license licenses.txt",

updatecli/values.d/nodejs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
versionpattern: "~20"
1+
versionpattern: "~24"
22
automerge: true
33

0 commit comments

Comments
 (0)