Skip to content

Commit

Permalink
fix(scripts): missing lock file in JS repository (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored May 27, 2022
1 parent 1783005 commit 97e345c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/ci/codegen/spreadGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ async function spreadGeneration(): Promise<void> {
const version = getPackageVersionDefault(lang);
const commitMessage = cleanUpCommitMessage(lastCommitMessage, version);

// We want to ensure we have an up to date `yarn.lock` in the JS client repository
if (lang === 'javascript') {
await run('YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install', {
cwd: tempGitDir,
});
}

await configureGitHubAuthor(tempGitDir);
await run(`git add .`, { cwd: tempGitDir });
await gitCommit({
Expand Down

0 comments on commit 97e345c

Please sign in to comment.