Updated frontend deps and use node:20

This commit is contained in:
Jamie Curnow committed 2024-05-08 09:41:32 +10:00
1 parent e1b757e177
commit fb880616c7
7 files changed
+8653 -3751

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if hash docker 2>/dev/null; then
cd "${DIR}/.."
echo -e "${BLUE}❯ ${CYAN}Linting Frontend ...${RESET}"
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend node:latest sh -c "yarn install && yarn eslint src;chown -R $(id -u):$(id -g) /app/frontend"
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend node:20 sh -c "yarn install && yarn eslint src;chown -R $(id -u):$(id -g) /app/frontend"
RES=$?
echo -e "${BLUE}❯ ${GREEN}Linting Frontend Complete${RESET}"
exit $RES