This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
Videos and BraveNewPipe are loading very slowly. #23
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: Image Minimizer | |
on: | |
issue_comment: | |
types: [created, edited] | |
issues: | |
types: [opened, edited] | |
jobs: | |
try-minimize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install probe-image-size | |
run: npm i [email protected] --ignore-scripts | |
- name: Minimize simple images | |
uses: actions/github-script@v6 | |
timeout-minutes: 3 | |
with: | |
script: | | |
const script = require('.github/workflows/image-minimizer.js'); | |
await script({github, context}); |