From 1040ea4da2f59479ae869d77db1c25b3f97d7ca1 Mon Sep 17 00:00:00 2001 From: abose Date: Wed, 28 Jan 2026 07:54:03 +0530 Subject: [PATCH 1/2] ci: node 24 upgrade --- .github/workflows/script.yml | 2 +- src/nodeDownloader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/script.yml b/.github/workflows/script.yml index 857a8fc..97cb232 100644 --- a/.github/workflows/script.yml +++ b/.github/workflows/script.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '22' # You can specify your Node.js version here + node-version: '24' # You can specify your Node.js version here - name: Install dependencies run: npm install diff --git a/src/nodeDownloader.js b/src/nodeDownloader.js index 5c621ab..492519b 100644 --- a/src/nodeDownloader.js +++ b/src/nodeDownloader.js @@ -6,7 +6,7 @@ import {dirname} from 'path'; import { URL } from 'url'; -const LTS_URL_PREFIX = 'https://nodejs.org/dist/latest-v20.x/'; +const LTS_URL_PREFIX = 'https://nodejs.org/dist/latest-v24.x/'; /** * Fetches the latest Node.js version by making a request to a specified URL. From eeac8f9ccb801782c65a32092742f423178991e1 Mon Sep 17 00:00:00 2001 From: abose Date: Wed, 28 Jan 2026 07:57:16 +0530 Subject: [PATCH 2/2] ci: push to releaseNow branch to run action now --- .github/workflows/script.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/script.yml b/.github/workflows/script.yml index 97cb232..f05c562 100644 --- a/.github/workflows/script.yml +++ b/.github/workflows/script.yml @@ -6,7 +6,7 @@ on: - cron: '0 0 * * *' push: branches: - - action + - releaseNow jobs: run-node-script: @@ -91,4 +91,4 @@ jobs: -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Content-Type: application/json" \ --data '{"draft": false}' \ - "https://api.github.com/repos/${{ github.repository }}/releases/$release_id" \ No newline at end of file + "https://api.github.com/repos/${{ github.repository }}/releases/$release_id"