-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (47 loc) · 1.13 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: 'Image Optimizer Action'
description: 'A GitHub Action to optimize images'
author: 'Chad Adams'
branding:
icon: 'image'
color: 'white'
inputs:
github-token:
description: "GitHub Token"
required: true
debug:
description: "Enable debug mode"
required: false
compress-png:
description: "Compress PNG files"
required: false
compress-svg:
description: "Compress SVG files"
required: false
compress-jpg:
description: "Compress JPG files"
required: false
compress-gif:
description: "Compress GIF files"
required: false
compress-webp:
description: "Compress WebP files"
required: false
compress-avif:
description: "Compress AVIF files"
required: false
export-webp:
description: "Export WebP files"
required: false
export-avif:
description: "Export AVIF files"
required: false
replace-original-after-export-webp:
description: "Replace original files after exporting WebP files"
required: false
ignore-paths:
description: "Paths to ignore"
required: false
default: "node_modules/**"
runs:
using: 'node20'
main: 'dist/index.js'