Minisauras Versions Save

An open-source CI/CD automation tool based on :octocat: GitHub Actions that pulls all the JavaScript and CSS files from your base branch, minify them and creates a pull-request with a new branch.

v2.0.0

3 years ago

What's new

  • fixed a bug arising "Unhandled Promise Rejection Warning"
  • added documentation in code
  • enhanced markdown description

v1.0.0

3 years ago

Minisauras BETA 1.0.0 :tada:

Built a CI/CD automation tool based on GitHub actions that

  • Traverse through a given directory (if not provided, traverse from the root), finds all the JavaScript & CSS files within it and it's sub-directories.
  • Afterward, Minisauras minify all those files.
  • Finally, it creates a new branch in your repository and creates a pull request that can be merged in your base branch.

Usage

  • User needs to create a personal access token.
  • Afterward, the user needs to set a secret using that personal access token in the desired repository.
  • In the workflow file, the user needs to provide the desired directory in which he/she wants to minify CSS and JS files in the workflow .yml file.

Dependencies used (npm packages)

  • @actions/core
  • @actions/github
  • @octokit/core
  • @octokit/rest
  • csso
  • glob
  • octokit-plugin-create-pull-request
  • terser