auto-clone
v0.1.3
Published
> Clone repo and start the workflow.
Downloads
6
Readme
auto-clone
Clone repo and start the workflow.
Config
cat ~/.auto-clonerc
{
"dir": "~/projects",
"options": "--depth=1",
"workflows": [
{
"test": "github",
"after": [
"git config user.name wmzy && git config user.email [email protected]",
"code .",
"test -f package-lock.json && npm ci",
"test -f yarn.lock && yarn install --frozen-lockfile"
]
},
{
"test": "gitlab",
"after": [
"git config user.name [gitlab user name] && git config user.email [gitlab user email]",
"code ."
]
}
]
}
TODO
- [ ] support js config
- [ ] merge config items
- [ ] after hooks error handler