add line to clear also ~/.cache/yarn

This commit is contained in:
einhornimmond 2024-09-04 11:47:35 +02:00
parent 73d648e705
commit 5fd87d139e

View File

@ -140,6 +140,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