diff --git a/.github/workflows/action-test.yml b/.github/workflows/action-test.yml index 91a3d5721..36f4eaa15 100644 --- a/.github/workflows/action-test.yml +++ b/.github/workflows/action-test.yml @@ -22,7 +22,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: "24.x" # Install and run tests - name: Install @@ -30,4 +30,4 @@ jobs: - name: Lint run: npm run lint - name: Unit tests - run: npm t \ No newline at end of file + run: npm t diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50146aa08..43703f428 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -119,7 +119,7 @@ jobs: - name: Install npm uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "24" - name: Setup Python3 uses: actions/setup-python@v4 diff --git a/action.yml b/action.yml index fc372e85f..efae7b5e0 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ inputs: description: "By default, this is the URL of the GitHub repository owner, such as the organization that owns the repository." required: false runs: - using: "node16" + using: "node24" main: "action/lib/main.js" branding: icon: "terminal" diff --git a/action/package-lock.json b/action/package-lock.json index e6be969d3..b6d9ba72a 100644 --- a/action/package-lock.json +++ b/action/package-lock.json @@ -31,7 +31,7 @@ "typescript": "^5.2.2" }, "engines": { - "node": ">=16.0.0", + "node": ">=24.0.0", "npm": ">=7.0.0" } }, diff --git a/action/package.json b/action/package.json index 3a96bb24f..93f1eba00 100644 --- a/action/package.json +++ b/action/package.json @@ -6,7 +6,7 @@ "main": "lib/main.js", "engines": { "npm": ">=7.0.0", - "node": ">=16.0.0" + "node": ">=24.0.0" }, "scripts": { "prepublishOnly": "npm prune --production && npm run compile", diff --git a/docs/templates/jfrog-pipelines/pipelines-npm.yml b/docs/templates/jfrog-pipelines/pipelines-npm.yml index 98086d254..2b9b2c843 100644 --- a/docs/templates/jfrog-pipelines/pipelines-npm.yml +++ b/docs/templates/jfrog-pipelines/pipelines-npm.yml @@ -30,7 +30,7 @@ pipelines: image: auto: language: node - version: "16" + version: "24" environmentVariables: # [Mandatory] # JFrog platform URL diff --git a/docs/templates/jfrog-pipelines/pipelines-yarn2.yml b/docs/templates/jfrog-pipelines/pipelines-yarn2.yml index bd8652aeb..ce39b9d14 100644 --- a/docs/templates/jfrog-pipelines/pipelines-yarn2.yml +++ b/docs/templates/jfrog-pipelines/pipelines-yarn2.yml @@ -30,7 +30,7 @@ pipelines: image: auto: language: node - version: "16" + version: "24" environmentVariables: # [Mandatory if the two conditions below are met] # 1. The project uses yarn 2, NuGet or .NET Core to download its dependencies