Merge pull request #3362 from gradido/fix_clear_yarn_cache

fix(other): clear also ~/.cache/yarn
This commit is contained in:
einhornimmond 2025-02-05 12:23:25 +01:00 committed by GitHub
commit a5d3de7b3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,6 +141,8 @@ envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/$TEMPLATE
# Clean tmp folder - remove yarn files
find /tmp -name "yarn--*" -exec rm -r {} \;
# Clean user cache folder
rm -Rf ~/.cache/yarn
# Remove node_modules folders
# we had problems with corrupted node_modules folder