rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

Optimize webpack-publish for CI #158

Closed dylanjustice closed 3 years ago

dylanjustice commented 3 years ago

Webpack publish assumes you have not already cleaned and restored your frontend directory. Furthermore, it uses npm install to install dependencies, which is not ideal for CI/CD. Add an option to skip the clean and restore. Add an option to run npm ci

and-cli webpack --publish --ci
and-cli webpack --publish --skip-clean --skip-restore