The Free Software Media System - Server Backend & API
Remove unnecessary execution of `yarn build:production`
Mark Monteiro887e9c2020f0
diff --git a/.ci/azure-pipelines-main.yml b/.ci/azure-pipelines-main.ymlindex 5cda81bd5e..09901b2a6a 100644--- a/.ci/azure-pipelines-main.yml+++ b/.ci/azure-pipelines-main.yml@@ -43,7 +43,7 @@ jobs:displayName: "Build Web Client"condition: and(succeeded(), or(contains(variables['System.PullRequest.TargetBranch'], 'release'), contains(variables['System.PullRequest.TargetBranch'], 'master'), contains(variables['Build.SourceBranch'], 'release'), contains(variables['Build.SourceBranch'], 'master')), eq(variables['BuildConfiguration'], 'Release'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI', 'BuildCompletion'))inputs:- script: yarn install && yarn build:production+ script: yarn installworkingDirectory: $(Agent.TempDirectory)/jellyfin-web- task: CopyFiles@2diff --git a/.ci/azure-pipelines-windows.yml b/.ci/azure-pipelines-windows.ymlindex f3e02f97fd..32d1d1382d 100644--- a/.ci/azure-pipelines-windows.yml+++ b/.ci/azure-pipelines-windows.yml@@ -36,7 +36,7 @@ jobs:displayName: "Build Web Client"condition: and(succeeded(), or(contains(variables['System.PullRequest.TargetBranch'], 'release'), contains(variables['System.PullRequest.TargetBranch'], 'master'), contains(variables['Build.SourceBranch'], 'release'), contains(variables['Build.SourceBranch'], 'master')), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI', 'BuildCompletion'))inputs:- script: yarn install && yarn build:production+ script: yarn installworkingDirectory: $(Agent.TempDirectory)/jellyfin-web- task: CopyFiles@2diff --git a/Dockerfile b/Dockerfileindex 982bfc2cb8..8fbfe9baf7 100644--- a/Dockerfile+++ b/Dockerfile@@ -6,8 +6,7 @@ ARG JELLYFIN_WEB_VERSION=masterRUN apk add curl git \&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \&& cd jellyfin-web-* \- && yarn install \- && yarn build:production \+ && yarn install&& mv dist /distFROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION}-buster as builderdiff --git a/Dockerfile.arm b/Dockerfile.armindex 65f7800cb5..ae442bd5bb 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -10,8 +10,7 @@ ARG JELLYFIN_WEB_VERSION=masterRUN apk add curl git \&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \&& cd jellyfin-web-* \- && yarn install \- && yarn build:production \+ && yarn install&& mv dist /distdiff --git a/Dockerfile.arm64 b/Dockerfile.arm64index df909c7722..bcdd90d6e3 100644--- a/Dockerfile.arm64+++ b/Dockerfile.arm64@@ -10,8 +10,7 @@ ARG JELLYFIN_WEB_VERSION=masterRUN apk add curl git \&& curl -L https://github.com/jellyfin/jellyfin-web/archive/${JELLYFIN_WEB_VERSION}.tar.gz | tar zxf - \&& cd jellyfin-web-* \- && yarn install \- && yarn build:production \+ && yarn install&& mv dist /dist