Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
minimize

GitHub Action

HTML/CSS/JS Minifier

v1.0.1

HTML/CSS/JS Minifier

minimize

HTML/CSS/JS Minifier

Github action to minify html, javascript and css files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: HTML/CSS/JS Minifier

uses: devatherock/[email protected]

Learn more about this action in devatherock/minify-js

Choose a version

CircleCI Version Codacy Badge Docker Pulls Docker Image Size Docker Image Layers License: MIT

Minify-JS Github Action/CI Plugin

Github action/CI Plugin to minify html, javascript and css files, using minify.

Usage

Docker

docker run --rm \
  -v "/path/to/files":/work \
  -w=/work \
  -e PARAMETER_INPUT_PATH=/work/src \
  -e PARAMETER_OUTPUT_PATH=/work/src \
  -e PARAMETER_ADD_SUFFIX=false \
  devatherock/minify-js:latest

CI

Please refer docs