aboutsummaryrefslogtreecommitdiffstats
path: root/buildSrc/src
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-21 19:05:28 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-21 19:05:28 +0100
commitd4c2a16fa82c885f9da2c9658a9e5c3f05bebd39 (patch)
treeaa19be24bbfea273fdfed6981ba0b377e7c73c6a /buildSrc/src
parentci: make sonar analysis conditional (diff)
downloadrefinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.tar.gz
refinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.tar.zst
refinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.zip
ci: do not modify yarn lockfile in ci
Diffstat (limited to 'buildSrc/src')
-rw-r--r--buildSrc/src/main/groovy/refinery-frontend-worktree.gradle5
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 {
5frontend { 5frontend {
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
10ext.frontedPropertiesFile = "${frontend.nodeInstallDirectory.get()}/frontend.properties" 15ext.frontedPropertiesFile = "${frontend.nodeInstallDirectory.get()}/frontend.properties"