Skip to content

Commit c80aaf9

Browse files
committed
Add npm install step to ci
1 parent 49d4dac commit c80aaf9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ jobs:
222222
~/Library/Caches/Coursier/v1
223223
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
224224

225+
- run: npm install
226+
225227
- run: 'sbt ''++${{ matrix.scala }}'' ''set Global / useJSEnv := JSEnv.JSDOM'' coverage test coverageAggregate'
226228

227229
- run: 'bash <(curl -s https://codecov.io/bash)'

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ThisBuild / githubWorkflowAddedJobs +=
3030
++ WorkflowStep.SetupJava(githubWorkflowJavaVersions.value.toList)
3131
++ githubWorkflowGeneratedCacheSteps.value
3232
++ List(
33+
WorkflowStep.Run(List("npm install")),
3334
WorkflowStep.Sbt(
3435
List(
3536
"set Global / useJSEnv := JSEnv.JSDOM",

0 commit comments

Comments
 (0)