From 728ddfa3e80b12a64e276b46c90889c804f0b3ae Mon Sep 17 00:00:00 2001 From: Julian <julian@cccv.de> Date: Tue, 31 May 2022 20:51:06 +0000 Subject: [PATCH] Fix build for 4.7.0 and newer --- .gitlab-ci.yml | 6 +++--- gitlabci-version.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b70757e..d43bbc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,9 @@ autoupdate: script: - meteor --version - git clone --depth 1 --branch ${UPSTREAM_VERSION} https://github.com/RocketChat/Rocket.Chat rocketchat - - cd rocketchat && npm install && cd .. - - cd rocketchat && meteor build --directory ../build && cd .. - - cd build/bundle/programs/server/ && npm install && cd ../../../.. + - cd rocketchat && YARN_CHECKSUM_BEHAVIOR=update yarn install --json && git diff yarn.lock && cd .. + - cd rocketchat && yarn build:ci -- --directory $(pwd)/../build && cd .. + - cd build/bundle/programs/server/ && npm install --production && cd ../../../.. artifacts: paths: - build diff --git a/gitlabci-version.yml b/gitlabci-version.yml index a39a48f..52f779c 100644 --- a/gitlabci-version.yml +++ b/gitlabci-version.yml @@ -1,2 +1,2 @@ variables: - UPSTREAM_VERSION: 4.7.4 \ No newline at end of file + UPSTREAM_VERSION: 4.6.3 -- GitLab