Skip to content

Commit 9d76784

Browse files
committed
chore: avoid caching entire node_modules
Can't recall why this wasn't done before, or whether it got accidentally removed in some refactoring....
1 parent ce5cb64 commit 9d76784

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

buildSrc/src/main/groovy/com/thoughtworks/go/build/YarnInstallTask.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class YarnInstallTask extends DefaultTask {
3636
YarnInstallTask(ExecOperations execOperations) {
3737
this.execOperations = execOperations
3838
inputs.property('os', OperatingSystem.current().toString())
39+
outputs.cacheIf { false }
3940
}
4041

4142
@Input // not an @InputFile/InputDirectory, because we don't care about the contents of the workingDir itself

0 commit comments

Comments
 (0)