18874: Add missing build step. 18874-merge-wb2
authorTom Clegg <tom@curii.com>
Mon, 27 Nov 2023 21:08:28 +0000 (16:08 -0500)
committerTom Clegg <tom@curii.com>
Mon, 27 Nov 2023 21:08:28 +0000 (16:08 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

build/run-library.sh

index 3eab0f506eeefa791d4eaafc434cb261d1f17ff9..dd878d8475873b67a5ab971cd5f6841988f32b61 100755 (executable)
@@ -124,6 +124,7 @@ package_workbench2() {
     local version="$(version_from_git)"
     cd "$WORKSPACE/$src"
     rm -rf ./build
+    NODE_ENV=production yarn install
     VERSION="$VERSION" BUILD_NUMBER="$(default_iteration "$pkgname" "$version" yarn)" GIT_COMMIT="$(git rev-parse HEAD | head -c9)" yarn build
     cd "$WORKSPACE/packages/$TARGET"
     fpm_build "${WORKSPACE}/$src" "${WORKSPACE}/$src/build/=$dst" "$pkgname" dir "$version" \