diff --git a/.github/workflows/scripts/generate-changelog.cjs b/.github/workflows/scripts/generate-changelog.cjs index 915e9055..0ac85c41 100644 --- a/.github/workflows/scripts/generate-changelog.cjs +++ b/.github/workflows/scripts/generate-changelog.cjs @@ -272,7 +272,7 @@ async function run() { await execFile('git', ['add', changelogPath]); // Update the package.json - await execFile('npm', ['--no-git-tag-version', '--workspaces-update=false', 'version', releaseKind], { + await execFile('pnpm', ['version', releaseKind, '--no-git-tag-version'], { cwd: packageLocation, }); const packageJsonPath = path.join(packageLocation, 'package.json');