Merge pull request #43 from sharelatex/ja-force-translations

Always npm install translations from master; Fixes #44
This commit is contained in:
James Allen 2017-10-09 14:31:31 +01:00 committed by GitHub
commit 3bda21c045

View file

@ -60,6 +60,9 @@ pipeline {
sh 'mv app/views/external/googlebdb0f8f7f4a17241.html public/googlebdb0f8f7f4a17241.html' sh 'mv app/views/external/googlebdb0f8f7f4a17241.html public/googlebdb0f8f7f4a17241.html'
sh 'npm install' sh 'npm install'
sh 'npm rebuild' sh 'npm rebuild'
// It's too easy to end up shrinkwrapping to an outdated version of translations.
// Ensure translations are always latest, regardless of shrinkwrap
sh 'npm install git+https://github.com/sharelatex/translations-sharelatex.git#master'
sh 'npm install --quiet grunt' sh 'npm install --quiet grunt'
sh 'npm install --quiet grunt-cli' sh 'npm install --quiet grunt-cli'
sh 'ls -l node_modules/.bin' sh 'ls -l node_modules/.bin'