Skip to content

Commit 2bb64f0

Browse files
committed
Keep the npm install step
1 parent d76eb88 commit 2bb64f0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
node-version: 16
6363
cache: npm
6464

65+
- name: Install jsdom
66+
if: matrix.ci == 'ciJSDOMNodeJS'
67+
run: npm install
68+
6569
- name: Check that workflows are up to date
6670
run: sbt ++${{ matrix.scala }} githubWorkflowCheck
6771

build.sbt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ ThisBuild / githubWorkflowBuildPreamble ++= Seq(
5252
UseRef.Public("actions", "setup-node", "v3"),
5353
name = Some("Setup NodeJS v16 LTS"),
5454
params = Map("node-version" -> "16", "cache" -> "npm"),
55-
cond = Some("matrix.ci == 'ciNode' || matrix.ci == 'ciJSDOMNodeJS'")),
55+
cond = Some("matrix.ci == 'ciNode' || matrix.ci == 'ciJSDOMNodeJS'")
56+
),
57+
WorkflowStep.Run(
58+
List("npm install"),
59+
name = Some("Install jsdom"),
60+
cond = Some("matrix.ci == 'ciJSDOMNodeJS'")
61+
),
5662
)
5763

5864
val ciVariants = List("ciNode", "ciFirefox", "ciChrome", "ciJSDOMNodeJS")

0 commit comments

Comments
 (0)