Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: use a worker for hard linking directories #7154

Merged
merged 9 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: fix
  • Loading branch information
zkochan committed Oct 8, 2023
commit 1aaa1053f278937db710e97f9d3ec8183e1ea936
2 changes: 2 additions & 0 deletions pkg-manager/core/test/install/lifecycleScripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
type MutatedProject,
mutateModules,
} from '@pnpm/core'
import { restartWorkerPool } from '@pnpm/worker'
import rimraf from '@zkochan/rimraf'
import isWindows from 'is-windows'
import loadJsonFile from 'load-json-file'
Expand Down Expand Up @@ -613,6 +614,7 @@ test('ignore-dep-scripts', async () => {
})

test('run pre/postinstall scripts in a workspace that uses node-linker=hoisted', async () => {
await restartWorkerPool()
const projects = preparePackages([
{
location: 'project-1',
Expand Down