Merge pull request #1185 from matrix-org/rav/fix_reactsdk_build
Run the riot-web tests against js-sdk develop
This commit is contained in:
commit
769752e0b3
1 changed files with 4 additions and 1 deletions
|
@ -22,8 +22,11 @@ git checkout "$curbranch" || git checkout develop
|
||||||
mkdir node_modules
|
mkdir node_modules
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
(cd node_modules/matrix-js-sdk && npm install)
|
# use the version of js-sdk we just used in the react-sdk tests
|
||||||
|
rm -r node_modules/matrix-js-sdk
|
||||||
|
ln -s "$REACT_SDK_DIR/node_modules/matrix-js-sdk" node_modules/matrix-js-sdk
|
||||||
|
|
||||||
|
# ... and, of course, the version of react-sdk we just built
|
||||||
rm -r node_modules/matrix-react-sdk
|
rm -r node_modules/matrix-react-sdk
|
||||||
ln -s "$REACT_SDK_DIR" node_modules/matrix-react-sdk
|
ln -s "$REACT_SDK_DIR" node_modules/matrix-react-sdk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue