Fix (Dynamic Content): prevent blurry images when using image optimizer #2465
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compressed Size | |
on: | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v2 # Checkout the Stackable Premium repo. | |
with: | |
repository: 'bfintal/Stackable-Premium' | |
ref: 'v3' | |
path: 'pro__premium_only' | |
token: '${{ secrets.ACCESS_KEY }}' | |
- name: Install Composer Dependencies | |
run: | | |
composer install --prefer-dist --no-progress --ignore-platform-reqs | |
- name: Setup Node # Fix because we can't do npm ci --legacy-peer-deps | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
clean-script: "clean" | |
pattern: "./build/stackable/**" | |
exclude: "{**/*.map,**/node_modules/**}" |