Run dependency-check
in Test Action Workflow
#107
Labels
Type: Maintenance
Any dependency, housekeeping, and clean up Issue or PR
I just found out by chance that
@octokit/auth-oauth-app
was usinguniversal-user-agent
without having it listed as dependency. That caused a problem with loading the package from https://cdn.skypack.dev/@octokit/[email protected].I did a quick research and found
dependency-check
, which can check for that. It can also check if a dependency is listed inpackage.json
that is not used in the codeIt needs to be run against the build version of the package, but making sure that the package builds is a good idea anyway. So I think we should add these to steps to
.github/workflows/test.yml
'stest
jobOne thing that's tricky: when we use only types from a package, it's not used in the code, but the package still needs to be a production dependency to make sure all required types are present when installing a package
The text was updated successfully, but these errors were encountered: