mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
Clean Yarn cache during Electron builds
This commit is contained in:
parent
97a2a6a168
commit
54767b5a65
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ if [ -n "$conffile" ]; then
|
|||
pushd "$builddir"
|
||||
fi
|
||||
|
||||
# We use Git branch / commit dependencies for some packages, and Yarn seems
|
||||
# to have a hard time getting that right. See also
|
||||
# https://github.com/yarnpkg/yarn/issues/4734. As a workaround, we clean the
|
||||
# global cache here to ensure we get the right thing.
|
||||
yarn cache clean
|
||||
yarn install
|
||||
yarn build:electron
|
||||
|
||||
|
|
Loading…
Reference in a new issue