Skip to content

docs: checkout docs for 1.12.0 #78

docs: checkout docs for 1.12.0

docs: checkout docs for 1.12.0 #78

Workflow file for this run

name: 📦 Compress Docs
on:
pull_request:
paths:
- ".github/workflows/compress-lottie.yml"
- "**.lottie.json"
jobs:
compress-lottie:
name: 🎞 Compress lottie
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compress Lottie
run: find . -name '*.lottie.json' -exec npx lottie-optim -p 1 -o {} {} \;
- name: Verify that the lottie hasn't been changed
run: git diff --exit-code HEAD