From d5f3979a5f2803385ad71e7a9e178d31f89b8d2b Mon Sep 17 00:00:00 2001 From: Levi Buzolic Date: Fri, 27 Mar 2026 23:20:13 +1100 Subject: [PATCH] Support Node 24 runtime (#426) Update the action runtime, engine constraint, and CI workflow pins from Node 20 to Node 24 per GitHub's guidance on the deprecation of Node 20 on GitHub Actions runners: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ --- .github/workflows/action.yml | 8 ++++---- action.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 6d4a3ba..26cf3ff 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v6.0.2 - uses: actions/setup-node@v6.3.0 with: - node-version: '20' + node-version: '24' - run: npm run build-dist - name: Check if build left artifacts run: git diff --exit-code --ignore-space-at-eol @@ -73,7 +73,7 @@ jobs: - uses: actions/checkout@v6.0.2 - uses: actions/setup-node@v6.3.0 with: - node-version: '20' + node-version: '24' - run: npm ci - run: npm test env: @@ -99,7 +99,7 @@ jobs: - uses: actions/checkout@v6.0.2 - uses: actions/setup-node@v6.3.0 with: - node-version: '20' + node-version: '24' - run: npm install --production - run: npm test env: @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@v6.0.2 - uses: actions/setup-node@v6.3.0 with: - node-version: '20' + node-version: '24' - run: npm ci - run: npm test env: diff --git a/action.yml b/action.yml index 76b0237..c2ec35a 100644 --- a/action.yml +++ b/action.yml @@ -98,5 +98,5 @@ outputs: description: The commit unique id of the execution action version runs: - using: node20 + using: node24 main: dist/index.js diff --git a/package-lock.json b/package-lock.json index 8cf2424..cdfd243 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "yarn": "1.22.22" }, "engines": { - "node": ">=20" + "node": ">=24" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index 4d240e4..88e9b5c 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,6 @@ "yarn": "1.22.22" }, "engines": { - "node": ">=20" + "node": ">=24" } }