From 712fc68b759a9132a896a1f01d0b464d628f9c27 Mon Sep 17 00:00:00 2001 From: Salman Chishti Date: Wed, 3 Sep 2025 03:38:09 +0100 Subject: [PATCH] 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 --- .github/workflows/basic-validation.yml | 2 +- .github/workflows/check-dist.yml | 2 +- action.yml | 2 +- package-lock.json | 7 +++++-- package.json | 5 ++++- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/basic-validation.yml b/.github/workflows/basic-validation.yml index fd71381..eda3204 100644 --- a/.github/workflows/basic-validation.yml +++ b/.github/workflows/basic-validation.yml @@ -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' diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 30aa221..d152b54 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -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' diff --git a/action.yml b/action.yml index b83dbd7..bfdeccf 100644 --- a/action.yml +++ b/action.yml @@ -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' diff --git a/package-lock.json b/package-lock.json index a435a15..78a67e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index f64d419..fd2e622 100644 --- a/package.json +++ b/package.json @@ -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",