diff --git a/.github/workflows/basic-validation.yml b/.github/workflows/basic-validation.yml index 54bbdb1..09309a2 100644 --- a/.github/workflows/basic-validation.yml +++ b/.github/workflows/basic-validation.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - name: Setup Yarn run: corepack enable diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 5840525..24ab38d 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - name: Setup Yarn run: corepack enable diff --git a/.github/workflows/check-licensed.yml b/.github/workflows/check-licensed.yml index 10c6716..c29a52a 100644 --- a/.github/workflows/check-licensed.yml +++ b/.github/workflows/check-licensed.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 24.x - name: Setup Yarn run: corepack enable @@ -42,4 +42,5 @@ jobs: sudo mv licensed /usr/local/bin/licensed - name: Check cached dependency records - run: licensed status \ No newline at end of file + run: licensed status + diff --git a/.nvmrc b/.nvmrc index 67e145b..4c8f24d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.18.0 +v24.7.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index abfe5cc..ee00b39 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,8 +20,8 @@ We have prepared a short guide so that the process of making your contribution i 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. - [node](https://nodejs.org/en): JavaScript runtime environment used for the GitHub action development - - Recommended version ">=20.18" - - Download and install from https://nodejs.org/en/download + - Recommended version ">=24" + - Download and install from - Alternative: install and manage node versions with [`nvm`](https://github.com/nvm-sh/nvm) - [yarn](https://yarnpkg.com): - Recommended version: "Classic Stable: v1.22.22" @@ -29,7 +29,7 @@ Before you start, ensure that you have the necessary dependencies for developing - `corepack enable yarn` ([Reference](https://github.com/nodejs/corepack#corepack-enable--name)) - Alternative: install from [classic.yarnpkg.com](https://classic.yarnpkg.com/en/docs/install) - [licensed](https://github.com/github/licensed): Used to check licenses of open source dependencies. - - Installation guide at https://github.com/github/licensed + - Installation guide at ## Development and Testing @@ -65,4 +65,3 @@ The source code and supporting resources for the action are laid out with the fo - `yarn run format:fix`: This applies recommended fixes for linting issues from ESlint. - `yarn run package`: This packages the action source code and dependency code together under `dist/` - `yarn test`: This runs the unit test suites defined with [Jest](https://jestjs.io) - diff --git a/action.yml b/action.yml index 3cfd618..0f4752e 100644 --- a/action.yml +++ b/action.yml @@ -199,5 +199,5 @@ inputs: "Do not store or display the source code related to a finding." default: false runs: - using: "node20" + using: "node24" main: "dist/index.js" diff --git a/package.json b/package.json index fd9fc30..46384cd 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "typescript": "4.9.5" }, "engines": { - "node": ">=20.18.0", + "node": ">=24", "npm": "Please use yarn instead of npm to install dependencies", "yarn": "1.22.22" },