* 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 <aparnajyothi-y@github.com>
This commit is contained in:
Salman Chishti
2025-09-03 03:38:09 +01:00
committed by GitHub
parent a4eaa8d00d
commit 712fc68b75
5 changed files with 12 additions and 6 deletions

View File

@@ -11,4 +11,4 @@ jobs:
name: Basic validation
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
with:
node-version: '20'
node-version: '24'

View File

@@ -16,4 +16,4 @@ jobs:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
with:
node-version: '20'
node-version: '24'

View File

@@ -13,5 +13,5 @@ outputs:
major-tag:
description: 'The major version tag that has been updated (created). Examples: v1, 1'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'

7
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "publish-action",
"version": "0.3.0",
"version": "0.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "publish-action",
"version": "0.3.0",
"version": "0.4.0",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
@@ -29,6 +29,9 @@
"prettier": "^3.5.3",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
},
"engines": {
"node": ">=24.0.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@@ -1,8 +1,11 @@
{
"name": "publish-action",
"version": "0.3.0",
"version": "0.4.0",
"description": "Update the major version tag (v1, v2, etc.) to point to the specified tag",
"main": "lib/main.js",
"engines": {
"node": ">=24.0.0"
},
"scripts": {
"build": "tsc && ncc build",
"test": "jest",