diff options
author | 2021-11-21 19:05:28 +0100 | |
---|---|---|
committer | 2021-11-21 19:05:28 +0100 | |
commit | d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39 (patch) | |
tree | aa19be24bbfea273fdfed6981ba0b377e7c73c6a /buildSrc/src/main/groovy/refinery-frontend-worktree.gradle | |
parent | ci: make sonar analysis conditional (diff) | |
download | refinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.tar.gz refinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.tar.zst refinery-d4c2a16fa82c885f9da2c9658a9e5c3f05bebd39.zip |
ci: do not modify yarn lockfile in ci
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" |