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

chore(ci): pass --no-audit flag to npm #2467

Merged
merged 1 commit into from
May 26, 2021
Merged

chore(ci): pass --no-audit flag to npm #2467

merged 1 commit into from
May 26, 2021

Conversation

erezrokah
Copy link
Contributor

@erezrokah erezrokah commented May 25, 2021

- Summary

Related to #2209

Adds the --no-audit flag to npm ci and npm install commands. It's not really useful for GitHub workflows/CI.
Since npm v7 npm ci also runs the audit which adds a few seconds to each installation process.
See npm/cli#2703.

Also we use renovate to update dependencies and GitHub alerts us when there are security vulnerabilities, so I don't think there's much benefit to it.

- Test plan

Existing tests

- A picture of a cute animal (not mandatory but encouraged)
🦒

On a side note we can consider adding this to all our repos workflows

@erezrokah erezrokah requested a review from a team as a code owner May 25, 2021 18:30
@erezrokah erezrokah requested a review from JGAntunes May 25, 2021 18:30
@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label May 25, 2021
@github-actions
Copy link

📊 Benchmark results

Comparing with cf6311b

  • Package size: 389 MB (no change)

@erezrokah erezrokah requested review from ehmicky and removed request for JGAntunes May 26, 2021 07:47
@erezrokah erezrokah merged commit 230dc6b into main May 26, 2021
@erezrokah erezrokah deleted the ci/skip_npm_audit branch May 26, 2021 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants