From e7808da3fc4bc3c32795c07777f9f3ff1f4f0638 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Mon, 15 Jan 2024 14:34:48 +0000 Subject: [PATCH] Bump Node.js, setup-node --- .github/workflows/ci.yml | 6 +++--- build.sbt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0a1a46a..92bd8fca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,11 +99,11 @@ jobs: if: matrix.java == 'corretto@17' && steps.setup-java-corretto-17.outputs.cache-hit == 'false' run: sbt +update - - name: Setup NodeJS v16 LTS + - name: Setup NodeJS v20 LTS if: matrix.project == 'rootJS' - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Check that workflows are up to date run: sbt githubWorkflowCheck diff --git a/build.sbt b/build.sbt index 76e8ba15..389723e0 100644 --- a/build.sbt +++ b/build.sbt @@ -39,9 +39,9 @@ ThisBuild / githubWorkflowBuildMatrixAdditions ~= { matrix => ThisBuild / githubWorkflowBuildPreamble += WorkflowStep.Use( - UseRef.Public("actions", "setup-node", "v2"), - name = Some("Setup NodeJS v16 LTS"), - params = Map("node-version" -> "16"), + UseRef.Public("actions", "setup-node", "v4"), + name = Some("Setup NodeJS v20 LTS"), + params = Map("node-version" -> "20"), cond = Some("matrix.project == 'rootJS'") )