name: Image optimization
on:
workflow_dispatch:
pull_request:
jobs:
my_bot_job:
runs-on: ubuntu-latest
steps:
- uses: evansnguyen/image-optimization@v1.0.0
with:
token: ${{ secrets.ACCESS_TOKEN }}
file: 'assets'
branch: 'next-release'
commit-branch: 'awesome/image-optimization'
clean
- remove coverage data, Jest cache and transpiled files,prebuild
- lint source files and tests before building,build
- transpile TypeScript to ES6,build:watch
- interactive watch mode to automatically transpile source files,lint
- lint source files and tests,prettier
- reformat files,test
- run tests,test:watch
- interactive watch mode to automatically re-run tests