mirror of https://github.com/vector-im/riot-web
Merge pull request #612 from matrix-org/dbkr/ci_build_js_sdk
Build the js-sdk in the CI scriptpull/21833/head
commit
6d07a1b7e3
|
@ -1,3 +1,6 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- node # Latest stable version of nodejs.
|
- node # Latest stable version of nodejs.
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
- (cd node_modules/matrix-js-sdk && npm install)
|
||||||
|
|
|
@ -12,6 +12,9 @@ set -x
|
||||||
# install the other dependencies
|
# install the other dependencies
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
# we may be using a dev branch of js-sdk in which case we need to build it
|
||||||
|
(cd node_modules/matrix-js-sdk && npm install)
|
||||||
|
|
||||||
# run the mocha tests
|
# run the mocha tests
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue