Skip to content

Commit 8b71c33

Browse files
authored
Bump node versions to Node 24 (#90)
1 parent fc47e4d commit 8b71c33

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/basic-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 20.x
30+
node-version: 24.x
3131

3232
- name: Setup Yarn
3333
run: corepack enable

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 20.x
27+
node-version: 24.x
2828

2929
- name: Setup Yarn
3030
run: corepack enable

.github/workflows/check-licensed.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 20.x
29+
node-version: 24.x
3030

3131
- name: Setup Yarn
3232
run: corepack enable
@@ -42,4 +42,5 @@ jobs:
4242
sudo mv licensed /usr/local/bin/licensed
4343
4444
- name: Check cached dependency records
45-
run: licensed status
45+
run: licensed status
46+

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.18.0
1+
v24.7.0

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ We have prepared a short guide so that the process of making your contribution i
2020
Before you start, ensure that you have the necessary dependencies for developing and building the action. Without the required dependencies, building or testing the action locally will fail.
2121

2222
- [node](https://nodejs.org/en): JavaScript runtime environment used for the GitHub action development
23-
- Recommended version ">=20.18"
24-
- Download and install from https://nodejs.org/en/download
23+
- Recommended version ">=24"
24+
- Download and install from <https://nodejs.org/en/download>
2525
- Alternative: install and manage node versions with [`nvm`](https://github.com/nvm-sh/nvm)
2626
- [yarn](https://yarnpkg.com):
2727
- Recommended version: "Classic Stable: v1.22.22"
2828
- Install and manage yarn through Corepack (requires node > "v16.9.x0")
2929
- `corepack enable yarn` ([Reference](https://github.com/nodejs/corepack#corepack-enable--name))
3030
- Alternative: install from [classic.yarnpkg.com](https://classic.yarnpkg.com/en/docs/install)
3131
- [licensed](https://github.com/github/licensed): Used to check licenses of open source dependencies.
32-
- Installation guide at https://github.com/github/licensed
32+
- Installation guide at <https://github.com/github/licensed>
3333

3434
## Development and Testing
3535

@@ -65,4 +65,3 @@ The source code and supporting resources for the action are laid out with the fo
6565
- `yarn run format:fix`: This applies recommended fixes for linting issues from ESlint.
6666
- `yarn run package`: This packages the action source code and dependency code together under `dist/`
6767
- `yarn test`: This runs the unit test suites defined with [Jest](https://jestjs.io)
68-

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ inputs:
199199
"Do not store or display the source code related to a finding."
200200
default: false
201201
runs:
202-
using: "node20"
202+
using: "node24"
203203
main: "dist/index.js"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"typescript": "4.9.5"
4848
},
4949
"engines": {
50-
"node": ">=20.18.0",
50+
"node": ">=24",
5151
"npm": "Please use yarn instead of npm to install dependencies",
5252
"yarn": "1.22.22"
5353
},

0 commit comments

Comments
 (0)