An example plugin repository with a workflow script that install Node dependencies
An example plugin repository with a workflow script that installs Node dependencies.
The workflow does the following:
npm install
to install dependencies in package.json
npm
npm run minify-css
which minifies the css and copies the output to /css
wpcom
which is required for WordPress.com's GitHub Deployment feature, while also excluding files from the deployment, like package.json
, style.css
, and README.md