mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge pull request #1911 from dibir-magomedsaygitov/v-dimago/win-clear-cache-yarn-npm
[Windows] Clean yarn and npm cache
This commit is contained in:
@@ -30,3 +30,7 @@ New-Item -Path $winInstallDir -ItemType Directory -Force
|
|||||||
|
|
||||||
# Remove AllUsersAllHosts profile
|
# Remove AllUsersAllHosts profile
|
||||||
Remove-Item $profile.AllUsersAllHosts -Force
|
Remove-Item $profile.AllUsersAllHosts -Force
|
||||||
|
|
||||||
|
# Clean yarn and npm cache
|
||||||
|
yarn cache clean
|
||||||
|
npm cache clean --force
|
||||||
Reference in New Issue
Block a user