Allow element-web hash to be specified when calling playwright tests workflow (#12087)

This commit is contained in:
Michael Telatynski 2023-12-22 15:51:24 +00:00 committed by GitHub
parent 2a3b8926f2
commit 045f96fd58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -42,6 +42,7 @@ yarn install --frozen-lockfile
# Finally, set up element-web
scripts/fetchdep.sh vector-im element-web develop
pushd element-web
[ -n "$ELEMENT_WEB_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $ELEMENT_WEB_GITHUB_BASE_REF && git checkout $ELEMENT_WEB_GITHUB_BASE_REF
yarn link matrix-js-sdk
yarn link matrix-react-sdk
yarn install --frozen-lockfile