find-node-modules
Version:
Return an array of all parent node_modules directories
21 lines (17 loc) • 493 B
JavaScript
module.exports = {
detect : function(env){
if (!env) env = process.env;
return !!env.APPVEYOR;
},
configuration : function(env){
if (!env) env = process.env;
return {
service : 'appveyor',
commit : env.APPVEYOR_REPO_COMMIT,
branch : env.APPVEYOR_REPO_BRANCH,
job: env.APPVEYOR_ACCOUNT_NAME + '/' + env.APPVEYOR_PROJECT_SLUG + '/' + env.APPVEYOR_BUILD_VERSION,
build: env.APPVEYOR_JOB_ID,
slug : env.APPVEYOR_REPO_NAME
};
}
};