diff options
Diffstat (limited to 'buildSrc/src/main/groovy/refinery-frontend-worktree.gradle')
-rw-r--r-- | buildSrc/src/main/groovy/refinery-frontend-worktree.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildSrc/src/main/groovy/refinery-frontend-worktree.gradle b/buildSrc/src/main/groovy/refinery-frontend-worktree.gradle index fbbf13d2..e1324746 100644 --- a/buildSrc/src/main/groovy/refinery-frontend-worktree.gradle +++ b/buildSrc/src/main/groovy/refinery-frontend-worktree.gradle | |||
@@ -5,6 +5,11 @@ plugins { | |||
5 | frontend { | 5 | frontend { |
6 | yarnGlobalInstallScript = "install -g yarn@${project.ext['frontend.yarn1Version']}" | 6 | yarnGlobalInstallScript = "install -g yarn@${project.ext['frontend.yarn1Version']}" |
7 | yarnInstallScript = "set version ${frontend.yarnVersion.get()} --only-if-needed" | 7 | yarnInstallScript = "set version ${frontend.yarnVersion.get()} --only-if-needed" |
8 | if (project.hasProperty('ci')) { | ||
9 | installScript = 'install --immutable --inline-builds' | ||
10 | } else { | ||
11 | installScript = 'install' | ||
12 | } | ||
8 | } | 13 | } |
9 | 14 | ||
10 | ext.frontedPropertiesFile = "${frontend.nodeInstallDirectory.get()}/frontend.properties" | 15 | ext.frontedPropertiesFile = "${frontend.nodeInstallDirectory.get()}/frontend.properties" |