mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-06 18:29:37 +00:00
Update NPM.py
This commit is contained in:
parent
804fddecc2
commit
b02b2229cf
@ -16,19 +16,6 @@ def isLog(step):
|
||||
|
||||
def getFactory():
|
||||
factory = base.getFactory();
|
||||
|
||||
factory.addStep(
|
||||
steps.ShellCommand(
|
||||
command = [
|
||||
'npm',
|
||||
"stop"
|
||||
],
|
||||
doStepIf = lambda step : (not isLog(step)) ,
|
||||
haltOnFailure = True,
|
||||
name = 'npm stop',
|
||||
description = 'stop old version',
|
||||
)
|
||||
);
|
||||
|
||||
factory.addStep(
|
||||
steps.Git(
|
||||
@ -43,6 +30,19 @@ def getFactory():
|
||||
|
||||
)
|
||||
);
|
||||
|
||||
factory.addStep(
|
||||
steps.ShellCommand(
|
||||
command = [
|
||||
'npm',
|
||||
"stop"
|
||||
],
|
||||
doStepIf = lambda step : (not isLog(step)) ,
|
||||
haltOnFailure = True,
|
||||
name = 'npm stop',
|
||||
description = 'stop old version',
|
||||
)
|
||||
);
|
||||
|
||||
factory.addStep(
|
||||
steps.ShellCommand(
|
||||
|
Loading…
x
Reference in New Issue
Block a user