Skip to content

Instantly share code, notes, and snippets.

@nem035
Created November 26, 2018 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nem035/545e21d17bd43b97a69de23bafbf0690 to your computer and use it in GitHub Desktop.
Save nem035/545e21d17bd43b97a69de23bafbf0690 to your computer and use it in GitHub Desktop.
async function workflow() {
const workspace = await install();
await Promise.all([build(workspace), lint(workspace)]);
if (isDeployBranch) {
await deploy(workspace);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment