Do not generate a lockfile when running in CI

This commit is contained in:
Germain Souquet 2021-07-07 16:11:47 +02:00
parent b916b789aa
commit 5fb7dbee3e
4 changed files with 7 additions and 7 deletions

View file

@ -6,8 +6,8 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
pushd matrix-js-sdk
yarn link
yarn install $@
yarn install --pure-lockfile $@
popd
yarn link matrix-js-sdk
yarn install $@
yarn install --pure-lockfile $@

View file

@ -13,13 +13,13 @@
scripts/fetchdep.sh matrix-org matrix-js-sdk
pushd matrix-js-sdk
yarn link
yarn install
yarn install --pure-lockfile
popd
# Now set up the react-sdk
yarn link matrix-js-sdk
yarn link
yarn install
yarn install --pure-lockfile
yarn reskindex
# Finally, set up element-web
@ -27,6 +27,6 @@ scripts/fetchdep.sh vector-im element-web
pushd element-web
yarn link matrix-js-sdk
yarn link matrix-react-sdk
yarn install
yarn install --pure-lockfile
yarn build:res
popd

View file

@ -12,5 +12,5 @@ unzip -q element.zip
rm element.zip
mv element-web-${ELEMENT_BRANCH} element-web
cd element-web
yarn install
yarn install --pure-lockfile
yarn run build

View file

@ -4,4 +4,4 @@ set -e
./synapse/install.sh
# local testing doesn't need a Element fetched from master,
# so not installing that by default
yarn install
yarn install --pure-lockfile