Make workflows reusable for downstream testing (#10174)
This commit is contained in:
parent
d3771f8a9f
commit
a09e105c23
3 changed files with 17 additions and 0 deletions
|
@ -11,6 +11,7 @@ set -ex
|
|||
|
||||
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||
pushd matrix-js-sdk
|
||||
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
|
||||
yarn link
|
||||
yarn install --pure-lockfile $@
|
||||
popd
|
||||
|
|
|
@ -16,6 +16,7 @@ set -ex
|
|||
# Set up the js-sdk first
|
||||
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||
pushd matrix-js-sdk
|
||||
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
|
||||
yarn link
|
||||
yarn install --pure-lockfile
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue