@cmflow/cli 0.73.1 → 0.73.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmflow/cli",
3
- "version": "0.73.1",
3
+ "version": "0.73.2",
4
4
  "description": "An awesome Git Flow",
5
5
  "author": "camfou",
6
6
  "license": "MIT",
@@ -156,6 +156,9 @@ export function getConfig () {
156
156
  get SKIP_DEPLOY () {
157
157
  return toBool(process.env.SKIP_DEPLOY)
158
158
  },
159
+ get SKIP_E2E () {
160
+ return process.env.SKIP_E2E ? toBool(process.env.SKIP_E2E) : false
161
+ },
159
162
  DOCKER_HUB_ID,
160
163
  DOCKER_HUB_PWD,
161
164
  HEROKU_APP,
@@ -36,6 +36,7 @@ export async function prepare (pluginConfig, context) {
36
36
  HAS_E2E,
37
37
  E2E_CMD,
38
38
  SKIP_DEPLOY,
39
+ SKIP_E2E,
39
40
  SKIP_GITHUB_PUBLISH,
40
41
  HAS_YARN,
41
42
  HAS_LERNA,
@@ -81,7 +82,7 @@ export async function prepare (pluginConfig, context) {
81
82
  logger.info('Skipping build task')
82
83
  }
83
84
 
84
- if (HAS_E2E && !SKIP_DEPLOY) {
85
+ if (HAS_E2E && !SKIP_DEPLOY && !SKIP_E2E) {
85
86
  logger.info('Start test_e2e task')
86
87
  await pkgManager.run(E2E_CMD || 'test_e2e')
87
88
  logger.info('test_e2e task finished with success...')