Skip to content

Commit

Permalink
chore(github-actions): remove custom svgo config and use default sett…
Browse files Browse the repository at this point in the history
…ings

Signed-off-by: Bjorn Lammers <[email protected]>
  • Loading branch information
walkxcode authored Jan 5, 2025
1 parent 92e58e9 commit 437c153
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/compress_icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand All @@ -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: |
Expand Down

0 comments on commit 437c153

Please sign in to comment.