* 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>
pull/102/head
Salman Chishti 2 weeks ago committed by GitHub
parent a4eaa8d00d
commit 712fc68b75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

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

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

7
package-lock.json generated

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

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

Loading…
Cancel
Save