Skip to content

Commit cd40ba8

Browse files
committed
Use Node.js 18 in CI
1 parent 5d1e7c9 commit cd40ba8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
~/Library/Caches/Coursier/v1
6767
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
6868

69-
- name: Setup NodeJS v16 LTS
69+
- name: Setup NodeJS v18 LTS
7070
if: matrix.ci == 'ciNode' || matrix.ci == 'ciJSDOMNodeJS'
7171
uses: actions/setup-node@v3
7272
with:
73-
node-version: 16
73+
node-version: 18
7474
cache: npm
7575

7676
- name: Install jsdom

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ ThisBuild / crossScalaVersions := Seq("2.11.12", "2.12.16", "2.13.7", "3.1.3")
4747
ThisBuild / githubWorkflowBuildPreamble ++= Seq(
4848
WorkflowStep.Use(
4949
UseRef.Public("actions", "setup-node", "v3"),
50-
name = Some("Setup NodeJS v16 LTS"),
51-
params = Map("node-version" -> "16", "cache" -> "npm"),
50+
name = Some("Setup NodeJS v18 LTS"),
51+
params = Map("node-version" -> "18", "cache" -> "npm"),
5252
cond = Some("matrix.ci == 'ciNode' || matrix.ci == 'ciJSDOMNodeJS'"),
5353
),
5454
WorkflowStep.Run(

0 commit comments

Comments
 (0)