Skip to content

Commit 2741e5f

Browse files
committed
feat!: update action runtime to Node 24
1 parent d76128b commit 2741e5f

File tree

8 files changed

+48
-63
lines changed

8 files changed

+48
-63
lines changed

.github/workflows/ci-cd.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- macos-latest
2626
- windows-latest
2727
node-version:
28-
- 16
29-
- 18
30-
- 20
28+
- "20"
29+
- "22"
30+
- "24"
3131

3232
steps:
3333
- name: Checkout source
@@ -74,7 +74,7 @@ jobs:
7474
- name: Install Node.js
7575
uses: actions/setup-node@v5
7676
with:
77-
node-version: "20"
77+
node-version: "24"
7878
cache: npm
7979

8080
- name: Install development dependencies
@@ -107,9 +107,9 @@ jobs:
107107
fail-fast: false
108108
matrix:
109109
node-version:
110-
- 16
111-
- 18
112-
- 20
110+
- "20"
111+
- "22"
112+
- "24"
113113

114114
services:
115115
verdaccio:
@@ -224,7 +224,7 @@ jobs:
224224
- name: Install Node.js
225225
uses: actions/setup-node@v5
226226
with:
227-
node-version: "20"
227+
node-version: "24"
228228

229229
- name: Download publish artifact
230230
uses: actions/download-artifact@v5

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributions, enhancements, and bug-fixes are welcome! [Open an issue](https://
44

55
## Building Locally
66

7-
You should be using Node.js v16 or later to build this project locally
7+
You should be using Node.js v24 or later to build this project locally
88

99
```shell
1010
# Clone this repository

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ outputs:
9292
If not configured for a scoped package, will be "default".
9393
9494
runs:
95-
using: node20
95+
using: node24
9696
main: action.js

dist/main.js

Lines changed: 32 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
"lint": "npm run _eslint && npm run _prettier -- --check",
3838
"format": "npm run _eslint -- --fix && npm run _prettier -- --write",
3939
"build": "concurrently -g npm:build:*",
40-
"build:dist": "esbuild src/action/main.ts --bundle --sourcemap --outdir=dist --platform=node --target=node16",
40+
"build:dist": "esbuild src/action/main.ts --bundle --sourcemap --outdir=dist --platform=node --target=node20",
4141
"build:lib": "tsc",
4242
"test": "vitest",
4343
"coverage": "vitest run --coverage",
4444
"_eslint": "eslint \"**/*.@(js|ts)\"",
4545
"_prettier": "prettier \"**/*.@(js|ts|json|md|yaml)\""
4646
},
4747
"engines": {
48-
"node": ">=16"
48+
"node": ">=20"
4949
},
5050
"publishConfig": {
5151
"access": "public",

0 commit comments

Comments
 (0)