Add CI scripts to install and link JS SDK

This installs and links the JS SDK to access ESLint rules and their deps. These
scripts are copied from the React SDK.

Part of https://github.com/vector-im/riot-web/issues/13584
This commit is contained in:
J. Ryan Stinnett
2020-05-11 10:33:31 +01:00
parent e8b4ae90c4
commit 7f7357573c
2 changed files with 53 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -ex
scripts/fetchdep.sh matrix-org matrix-js-sdk
pushd matrix-js-sdk
yarn link
yarn install $@
popd
yarn link matrix-js-sdk
yarn install $@