Skip to content

Commit

Permalink
Merge pull request #449 from armanbilge/update/setup-node-v4
Browse files Browse the repository at this point in the history
Bump Node.js, setup-node
  • Loading branch information
armanbilge authored Jan 15, 2024
2 parents eb1de8f + e7808da commit f34db08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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'")
)

Expand Down

0 comments on commit f34db08

Please sign in to comment.