Skip to content

Conversation

@brcrista
Copy link
Contributor

@brcrista brcrista commented Jun 14, 2021

In #845 the workflow https://github.com/actions/toolkit/actions/workflows/audit.yml failed because of some known vulnerabilities.

Most of these I fixed with npm audit fix. However, the lerna package, which is a dev dependency, needs to be updated (discussion). Therefore, I'm changing the workflow to run with --production, which excludes dev dependencies.

Sample output:

image

@brcrista brcrista requested review from konradpabjan and thboop June 14, 2021 17:35
@brcrista brcrista requested a review from a team as a code owner June 14, 2021 17:35
@brcrista brcrista requested a review from a team June 14, 2021 17:35
@brcrista brcrista mentioned this pull request Jun 14, 2021
@konradpabjan
Copy link
Contributor

Why is the lockfileVersion being bumped to version 2 in all the package-lock.json files? 🤔

It's introducing quite a bit changes that I think we can avoid

@brcrista
Copy link
Contributor Author

@konradpabjan that's probably because I ran npm audit fix with npm 7. I'll undo and redo with npm 6.

@brcrista brcrista force-pushed the brcrista/audit-fix branch from be8c8a7 to f1ba29d Compare June 14, 2021 19:14
Copy link
Contributor

@konradpabjan konradpabjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@thboop could you confirm if these changes are good

Copy link
Collaborator

@thboop thboop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brcrista brcrista merged commit 9167ce1 into main Jun 16, 2021
@brcrista brcrista deleted the brcrista/audit-fix branch June 16, 2021 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants