Skip to content

Commit f03f671

Browse files
authored
chore(scripts): always install node modules during release process (#1012)
1 parent 1979a2a commit f03f671

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/release/updateAPIVersions.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,8 @@ export async function updateAPIVersions(
194194
if (lang === 'javascript') {
195195
const cwd = getLanguageFolder(lang);
196196

197-
if (CI) {
198-
await run('yarn install', { verbose: true, cwd });
199-
}
200-
197+
// install yarn in case some package were updated
198+
await run('yarn install', { verbose: true, cwd });
201199
await run(`yarn release:bump ${releaseType}`, {
202200
verbose: CI,
203201
cwd,

0 commit comments

Comments
 (0)