Skip to content

Automattic/githubdeployments-node-example

Folders and files

Image for: Folders and files
NameName
Last commit message
Last commit date

Latest commit

Image for: Latest commit
 

History

Image for: History
9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image for: Repository files navigation

githubdeployments-node-example

An example plugin repository with a workflow script that installs Node dependencies.

The workflow does the following:

  • Checkout the repository
  • Instals Node with the Node Action
  • Runs npm install to install dependencies in package.json
  • Stores NPM packages in a cache named npm
  • Runs npm run minify-css which minifies the css and copies the output to /css
  • Creates a build artifact with name 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

About

Image for: About

An example plugin repository with a workflow script that install Node dependencies

Resources

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
No packages published