Skip to content

refactor: generate image with sharp #1937

refactor: generate image with sharp

refactor: generate image with sharp #1937

name: Compress images
on: pull_request
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
jpegQuality: "80"
pngQuality: "80"
webpQuality: "80"
ignorePaths: "node_modules/**,build"