Skip to content
Snippets Groups Projects
Commit 26813d39 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] bamboo: Use yarn instead of npm install

With the switch from npm install to yarn install we
forgot to adapt the test suites. Update plan specs.

Change-Id: Ibced9d53a4abf73b33e95027a61263f19cd94e56
Resolves: #83544
Related: #83038
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55336


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent fcc4a0dc
Branches
Tags
No related merge requests found
......@@ -528,11 +528,14 @@ abstract public class AbstractCoreSpec {
this.getTaskGitCloneRepository(),
this.getTaskGitCherryPick(),
this.getTaskComposerInstall(),
new NpmTask()
.description("npm install in Build/ dir")
.nodeExecutable("Node.js")
.workingSubdirectory("Build/")
.command("install"),
new ScriptTask()
.description("yarn install in Build/ dir")
.interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
.inlineBody(
this.getScriptTaskBashInlineBody() +
"yarn install"
)
.workingSubdirectory("Build/"),
new ScriptTask()
.description("Run tests")
.interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
......@@ -595,11 +598,14 @@ abstract public class AbstractCoreSpec {
.tasks(
this.getTaskGitCloneRepository(),
this.getTaskGitCherryPick(),
new NpmTask()
.description("npm install in Build/ dir")
.nodeExecutable("Node.js")
.workingSubdirectory("Build/")
.command("install"),
new ScriptTask()
.description("yarn install in Build/ dir")
.interpreter(ScriptTaskProperties.Interpreter.BINSH_OR_CMDEXE)
.inlineBody(
this.getScriptTaskBashInlineBody() +
"yarn install"
)
.workingSubdirectory("Build/"),
new NpmTask()
.description("Run npm lint")
.nodeExecutable("Node.js")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment