Skip to content
Snippets Groups Projects
Unverified Commit 482ae2d6 authored by Diego Sampaio's avatar Diego Sampaio Committed by GitHub
Browse files

Ci improvements (#14600)

* Move livechat npm install to postinstall

* Clone snap repo with depth 1
parent 728e5c14
No related branches found
No related tags found
No related merge requests found
......@@ -118,9 +118,6 @@ jobs:
# rm -rf node_modules
# rm -f package-lock.json
meteor npm install
cd packages/rocketchat-livechat/.app
meteor npm install
cd -
- run:
name: Lint
......
......@@ -13,7 +13,7 @@ cd $PWD/.snapcraft
echo -e "Tag: $CIRCLE_TAG\r\nBranch: $CIRCLE_BRANCH\r\nBuild: $CIRCLE_BUILD_NUM\r\nCommit: $CIRCLE_SHA1" > buildinfo
# Clone launchpad repo for the channel down.
git clone -b $SNAP_CHANNEL git+ssh://rocket.chat.buildmaster@git.launchpad.net/rocket.chat launchpad
git clone -b $SNAP_CHANNEL --depth 1 git+ssh://rocket.chat.buildmaster@git.launchpad.net/rocket.chat launchpad
# Rarely will change, but just incase we copy it all
cp -r resources buildinfo snap launchpad/
......
......@@ -9,3 +9,5 @@ execSync('mkdir -p public/fonts/');
execSync('cp node_modules/katex/dist/fonts/* public/fonts/');
execSync('cp node_modules/pdfjs-dist/build/pdf.worker.min.js public/');
execSync('cd packages/rocketchat-livechat/.app && (meteor npm install || npm install) && cd -');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment