Skip to content

Improve npm audit workflow #656

@nickvergessen

Description

@nickvergessen

The workflow is quite good and helpful.

However currently the developers need to check locally if everything is still working fine. In quite many cases the fixed dependencies are however development related and don't change the production files.

It would therefore be support helpful if the workflow could:

  1. Compile the app and copy js/ to js-backup/
  2. NPM audit
  3. Compile the app again
  4. Diff js/ and js-backup/

If the diff is empty: extend the PR description with:

Tip

Assets did not change

If the diff is not empty:

Warning

Assets changed

This allows developers to speed up the merge time and skip local testing when nothing changed in the assets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions