aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-20 11:46:51 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-20 11:46:51 +0100
commit887e9c2020f0dee71d24a4464df70e620f6cc805 (patch)
tree03eb872ca86732db9342b5cbaa46a43d873ad089
parent6894602dab70f7b9072fff1fd6d18fd55d1421ec (diff)
Remove unnecessary execution of `yarn build:production`
-rw-r--r--.ci/azure-pipelines-main.yml2
-rw-r--r--.ci/azure-pipelines-windows.yml2
-rw-r--r--Dockerfile3
-rw-r--r--Dockerfile.arm3
-rw-r--r--Dockerfile.arm643
5 files changed, 5 insertions, 8 deletions
diff --git a/.ci/azure-pipelines-main.yml b/.ci/azure-pipelines-main.yml
index 5cda81bd5..09901b2a6 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 install
workingDirectory: $(Agent.TempDirectory)/jellyfin-web
- task: CopyFiles@2
diff --git a/.ci/azure-pipelines-windows.yml b/.ci/azure-pipelines-windows.yml
index f3e02f97f..32d1d1382 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 install
workingDirectory: $(Agent.TempDirectory)/jellyfin-web
- task: CopyFiles@2
diff --git a/Dockerfile b/Dockerfile
index 982bfc2cb..8fbfe9baf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,8 +6,7 @@ ARG JELLYFIN_WEB_VERSION=master
RUN 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
FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION}-buster as builder
diff --git a/Dockerfile.arm b/Dockerfile.arm
index 65f7800cb..ae442bd5b 100644
--- a/Dockerfile.arm
+++ b/Dockerfile.arm
@@ -10,8 +10,7 @@ ARG JELLYFIN_WEB_VERSION=master
RUN 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
diff --git a/Dockerfile.arm64 b/Dockerfile.arm64
index df909c772..bcdd90d6e 100644
--- a/Dockerfile.arm64
+++ b/Dockerfile.arm64
@@ -10,8 +10,7 @@ ARG JELLYFIN_WEB_VERSION=master
RUN 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