Skip to content

Commit

Permalink
chore: clean npm cache on package installations (#748)
Browse files Browse the repository at this point in the history
This should avoid persistent errors in case of rare npm cache corruptions.
Something like immerjs/immer#546.
  • Loading branch information
aalexand committed Jun 23, 2021
1 parent 95f61fc commit c3adca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-test/integration_test.go
Expand Up @@ -64,6 +64,7 @@ const startupTemplate = `
{{ define "setup"}}
npm_install() {
npm cache clean --force # Avoid persistent errors on rare cache corruptions.
timeout 60 npm install --quiet --no-color --no-progress "${@}"
}
Expand Down

0 comments on commit c3adca7

Please sign in to comment.