mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: do not download browsers during 'npm run lint' (#35474)
This commit is contained in:
parent
2d65457db1
commit
482e929df7
@ -127,7 +127,14 @@ class Workspace {
|
||||
}
|
||||
|
||||
// Re-run npm i to make package-lock dirty.
|
||||
child_process.execSync('npm i');
|
||||
child_process.execSync('npm i', {
|
||||
env: {
|
||||
...process.env,
|
||||
// Playwright would download the browsers because it has e.g. @playwright/browser-chromium or playwright-chromium
|
||||
// in the workspace. We don't want to download browsers here.
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1',
|
||||
}
|
||||
});
|
||||
return hasChanges;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user