From c407350d7ac612720adf34ee011cb952e93b8b64 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 3 Oct 2019 11:00:41 -0400 Subject: [PATCH 1/2] Add ci check for dist directory after install --- .ci/azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 483d367b64..e6889afb1f 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -28,6 +28,10 @@ jobs: yarn install displayName: 'Install dependencies' + - script: | + test -d dist + displayName: 'Check dist directory' + - script: | yarn pack --filename jellyfin-web.tgz displayName: 'Build package' From 01f09eaa77abc8672f8b3823b5178029b6f27128 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 3 Oct 2019 11:07:11 -0400 Subject: [PATCH 2/2] Restore prepare script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e9bafe874f..4765fce97c 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "scripts": { "serve": "webpack-dev-server --config webpack.dev.js --open", "build": "webpack --config webpack.prod.js", - "lint": "eslint \"src\"" + "lint": "eslint \"src\"", + "prepare": "webpack --config webpack.prod.js" } }