mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Fix jenkins build
Do `npm install` on js-sdk rather than `npm run build`, which will hopefully mean that `browserify` gets installed before we try to run it. The README says we should use `npm install` for the react-sdk too, so let's do that, and bring the travis and jenkins builds into sync with the README.
This commit is contained in:
parent
6369d76a74
commit
3404521d5d
2 changed files with 3 additions and 3 deletions
|
@ -4,4 +4,4 @@ node_js:
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
- (cd node_modules/matrix-js-sdk && npm install)
|
- (cd node_modules/matrix-js-sdk && npm install)
|
||||||
- (cd node_modules/matrix-react-sdk && npm run build)
|
- (cd node_modules/matrix-react-sdk && npm install)
|
||||||
|
|
|
@ -20,8 +20,8 @@ rm -r node_modules/olm
|
||||||
cp -r olm/package node_modules/olm
|
cp -r olm/package node_modules/olm
|
||||||
|
|
||||||
# we may be using dev branches of js-sdk and react-sdk, in which case we need to build them
|
# we may be using dev branches of js-sdk and react-sdk, in which case we need to build them
|
||||||
(cd node_modules/matrix-js-sdk && npm run build)
|
(cd node_modules/matrix-js-sdk && npm install)
|
||||||
(cd node_modules/matrix-react-sdk && npm run build)
|
(cd node_modules/matrix-react-sdk && npm install)
|
||||||
|
|
||||||
# run the mocha tests
|
# run the mocha tests
|
||||||
npm run test
|
npm run test
|
||||||
|
|
Loading…
Reference in a new issue