diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b70757eae2c61bf9481e8b6acc0768826dbf808a..d43bbc6a718af9dd998797b3fb78a700ccbd4ccb 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 a39a48f8860da3ef05cff77a221858319f4b24e1..52f779ce4ae9422e76f4bc74edb2cbc0bbace6e2 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