From 437c1533a0002a68b6b4e1a67ce8dc31ffad7185 Mon Sep 17 00:00:00 2001 From: Bjorn Lammers Date: Sun, 5 Jan 2025 02:55:20 +0100 Subject: [PATCH] chore(github-actions): remove custom svgo config and use default settings Signed-off-by: Bjorn Lammers --- .github/workflows/compress_icons.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/compress_icons.yml b/.github/workflows/compress_icons.yml index cbe302d5..1222b448 100644 --- a/.github/workflows/compress_icons.yml +++ b/.github/workflows/compress_icons.yml @@ -23,15 +23,6 @@ jobs: sudo apt-get install -y zopfli webp npm npm install -g svgo - - name: Create svgo.config.js if Missing - run: | - if [ ! -f "svgo.config.js" ]; then - echo "Creating svgo.config.js..." - echo "module.exports = { plugins: [{ removeViewBox: false }, { cleanupIDs: false }] };" > svgo.config.js - else - echo "svgo.config.js already exists." - fi - - name: Compress PNG Files run: | echo "Compressing PNGs..." @@ -40,7 +31,7 @@ jobs: - name: Compress SVG Files run: | echo "Compressing SVGs..." - svgo --config=svgo.config.js -f svg/ + svgo -f svg/ - name: Compress WEBP Files run: |