Merge pull request #2920 from vector-im/dbkr/ci_build_js_sdk
Build the js-sdk in the CI script
This commit is contained in:
commit
6b02bf8e8c
|
@ -3,4 +3,5 @@ node_js:
|
||||||
- 6 # node v6, to match jenkins
|
- 6 # node v6, to match jenkins
|
||||||
install:
|
install:
|
||||||
- npm install
|
- 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 run build)
|
||||||
|
|
|
@ -19,7 +19,8 @@ tar -C olm -xz < olm/olm-*.tgz
|
||||||
rm -r node_modules/olm
|
rm -r node_modules/olm
|
||||||
cp -r olm/package node_modules/olm
|
cp -r olm/package node_modules/olm
|
||||||
|
|
||||||
# we may be using a dev branch of react-sdk, in which case we need to build it
|
# 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-react-sdk && npm run build)
|
(cd node_modules/matrix-react-sdk && npm run build)
|
||||||
|
|
||||||
# run the mocha tests
|
# run the mocha tests
|
||||||
|
|
Loading…
Reference in New Issue