Build tweaks
This commit is contained in:
Родитель
1902894f96
Коммит
bc9e454206
3
.env
3
.env
|
@ -1,3 +0,0 @@
|
|||
COVERALLS_GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%
|
||||
COVERALLS_GIT_COMMIT=%BUILD_SOURCEVERSION%
|
||||
CI_PULL_REQUEST=%SYSTEM_PULLREQUEST_PULLREQUESTID%
|
|
@ -0,0 +1,3 @@
|
|||
process.env.COVERALLS_GIT_BRANCH = process.env.BUILD_SOURCEBRANCHNAME;
|
||||
process.env.COVERALLS_GIT_COMMIT = process.env.BUILD_SOURCEVERSION;
|
||||
process.env.CI_PULL_REQUEST = process.env.SYSTEM_PULLREQUEST_PULLREQUESTID;
|
|
@ -3,7 +3,7 @@
|
|||
"bootstrap": "lerna bootstrap --hoist",
|
||||
"build": "lerna run --scope @bfemulator/**shared build && lerna run --scope !@bfemulator/**shared build",
|
||||
"test": "jest",
|
||||
"test:coveralls": "jest --coverage --coverageReporters=text-lcov | node -r dotenv/config node_modules/coveralls/bin/coveralls"
|
||||
"test:coveralls": "jest --coverage --coverageReporters=text-lcov | node -r env.js node_modules/coveralls/bin/coveralls"
|
||||
},
|
||||
"jest": {
|
||||
"setupTestFrameworkScriptFile": "./testSetup.js",
|
||||
|
@ -21,8 +21,5 @@
|
|||
"json",
|
||||
"node"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"dotenv": "^5.0.1"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче