Skip to content

Commit

Permalink
Rollback Node.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Oct 16, 2024
1 parent 32cb486 commit e8545cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt +update

- name: Setup NodeJS v22 LTS
- name: Setup NodeJS v20 LTS
if: matrix.project == 'rootJS'
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
cache: npm

- if: matrix.project == 'rootJS'
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ThisBuild / tlJdkRelease := Some(8)
ThisBuild / githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Use(
UseRef.Public("actions", "setup-node", "v4"),
name = Some("Setup NodeJS v22 LTS"),
params = Map("node-version" -> "22", "cache" -> "npm"),
name = Some("Setup NodeJS v20 LTS"),
params = Map("node-version" -> "20", "cache" -> "npm"),
cond = Some("matrix.project == 'rootJS'"),
),
WorkflowStep.Run(
Expand Down

0 comments on commit e8545cc

Please sign in to comment.