Skip to content

Commit 143d222

Browse files
committed
fix: enable pnpm install in CI for docs-preview
1 parent ac20893 commit 143d222

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs-viewer/src/-utils.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ export function repoDetails(gitUrl: string) {
8282

8383
export async function installDeps(packageManager: 'pnpm' | 'npm' | 'yarn', details: ReturnType<typeof repoDetails>) {
8484
const proc = Bun.spawn(
85-
[packageManager, 'install', packageManager === 'pnpm' ? '--ignore-workspace' : ''].filter(Boolean),
85+
[packageManager, 'install', packageManager === 'pnpm' ? '--ignore-workspace' : '', '--no-frozen-lockfile'].filter(
86+
Boolean
87+
),
8688
{
8789
cwd: details.location,
8890
env: process.env,

0 commit comments

Comments
 (0)