CI: attempt to fix translation resources

This commit is contained in:
Pieter Vander Vennet 2023-10-11 03:03:14 +02:00
parent 33565ff4c1
commit 3aa49b8697

View file

@ -8,8 +8,7 @@ rm -rf dist/*
rm -rf .cache rm -rf .cache
mkdir dist 2> /dev/null mkdir dist 2> /dev/null
mkdir dist/assets 2> /dev/null mkdir dist/assets 2> /dev/null
mkdir dist/assets/langs 2> /dev/null
mkdir dist/assets/langs/layers 2> /dev/null
export NODE_OPTIONS="--max-old-space-size=8192" export NODE_OPTIONS="--max-old-space-size=8192"
@ -52,6 +51,8 @@ vite build $SRC_MAPS
cp -r assets/layers/ dist/assets/layers/ cp -r assets/layers/ dist/assets/layers/
cp -r assets/themes/ dist/assets/themes/ cp -r assets/themes/ dist/assets/themes/
cp -r assets/svg/ dist/assets/svg/ cp -r assets/svg/ dist/assets/svg/
mkdir dist/assets/langs 2> /dev/null
mkdir dist/assets/langs/layers 2> /dev/null
cp -r langs/layers/ dist/assets/langs/layers/ cp -r langs/layers/ dist/assets/langs/layers/
ls dist/assets/langs/layers/ ls dist/assets/langs/layers/
export NODE_OPTIONS="" export NODE_OPTIONS=""