Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 62d4c82

Browse files
authored
chore: add image compress workflow (#44)
1 parent c59e5dd commit 62d4c82

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.github/workflows/compress.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Compress
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "**.svg"
7+
8+
jobs:
9+
svg:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: ericcornelissen/svgo-action@v1.0.1
16+
with:
17+
conventional-commits: true
18+
repo-token: ${{ secrets.GH_TOKEN }}

.svgo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
plugins:
2+
- cleanupIDs: false
Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)