Skip to content

Commit 65ebb53

Browse files
committed
chore(): build after test
1 parent 62eff0a commit 65ebb53

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.scripts/common.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,17 @@ function preparePackage(tasks, package, version) {
107107
title: `${pkg.name}: lint`,
108108
task: () => execa('npm', ['run', 'lint'], { cwd: projectRoot })
109109
});
110+
projectTasks.push({
111+
title: `${pkg.name}: test`,
112+
task: () => execa('npm', ['test'], { cwd: projectRoot })
113+
});
110114
}
111115

112116
projectTasks.push({
113117
title: `${pkg.name}: build`,
114118
task: () => execa('npm', ['run', 'build'], { cwd: projectRoot })
115119
});
116120

117-
if (version) {
118-
projectTasks.push({
119-
title: `${pkg.name}: test`,
120-
task: () => execa('npm', ['test'], { cwd: projectRoot })
121-
});
122-
}
123-
124121
if (package === 'core') {
125122
projectTasks.push({
126123
title: `${pkg.name}: npm link`,

0 commit comments

Comments
 (0)