Skip to content

Commit 712fc68

Browse files
Node24 (#92)
* Update Node.js runtime to node24 in action.yml Changed the GitHub Action runtime from node20 to node24 to ensure compatibility with newer Node.js features and security updates. * Update basic-validation.yml * Upgrade to node24 upgrade to node24 * package.json version update --------- Co-authored-by: Aparna Jyothi <[email protected]>
1 parent a4eaa8d commit 712fc68

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.github/workflows/basic-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
name: Basic validation
1212
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
1313
with:
14-
node-version: '20'
14+
node-version: '24'

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
name: Check dist/
1717
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
1818
with:
19-
node-version: '20'
19+
node-version: '24'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ outputs:
1313
major-tag:
1414
description: 'The major version tag that has been updated (created). Examples: v1, 1'
1515
runs:
16-
using: 'node20'
16+
using: 'node24'
1717
main: 'dist/index.js'

package-lock.json

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

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
22
"name": "publish-action",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Update the major version tag (v1, v2, etc.) to point to the specified tag",
55
"main": "lib/main.js",
6+
"engines": {
7+
"node": ">=24.0.0"
8+
},
69
"scripts": {
710
"build": "tsc && ncc build",
811
"test": "jest",

0 commit comments

Comments
 (0)