Skip to content

Commit 888117f

Browse files
committed
Enable npm caching
1 parent 3371d21 commit 888117f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
uses: actions/setup-node@v3
6161
with:
6262
node-version: 16
63+
cache: npm
6364

6465
- name: Install jsdom
6566
if: matrix.ci == 'ciJSDOMNodeJS'

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ThisBuild / githubWorkflowBuildPreamble ++= Seq(
5151
WorkflowStep.Use(
5252
UseRef.Public("actions", "setup-node", "v3"),
5353
name = Some("Setup NodeJS v16 LTS"),
54-
params = Map("node-version" -> "16"),
54+
params = Map("node-version" -> "16", "cache" -> "npm"),
5555
cond = Some("matrix.ci == 'ciNode' || matrix.ci == 'ciJSDOMNodeJS'")),
5656
WorkflowStep.Run(
5757
List("npm install"),

0 commit comments

Comments
 (0)