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

Make npm logs less verbose in CI #37566

Merged
merged 1 commit into from Nov 6, 2017
Merged

Conversation

felixfbecker
Copy link
Contributor

This configures npm to not dump the full dependency tree for every npm install, but only the flat direct dependencies. It's impossible to fully disable the output in npm 4 (it's not printed by npm 5).

Before npm install caused >5000 log lines, which made Travis hang for multiple seconds while parsing the log in the browser. Now it's ~800, which makes the logs load significantly faster and makes Travis not hang.

Before:

image

After:

image

This does not change any install behaviour.

@joaomoreno
Copy link
Member

Excellent stuff!

@joaomoreno joaomoreno added the engineering VS Code - Build / issue tracking / etc. label Nov 6, 2017
@joaomoreno joaomoreno added this to the November 2017 milestone Nov 6, 2017
@felixfbecker felixfbecker deleted the quiet-npm branch November 6, 2017 16:47
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engineering VS Code - Build / issue tracking / etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants