Skip to content

:octocat: Github action to validate unused node project dependencies.

License

Notifications You must be signed in to change notification settings

tj-actions/depcheck

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Codacy Badge CI Update release version. Public workflows that use this action.

Ubuntu Mac OS Windows

All Contributors

depcheck

Analyze node project dependencies using depcheck.

sample

Usage

...
    steps:
      - uses: actions/checkout@v4
      - name: depcheck
        uses: tj-actions/depcheck@v9
        with:
          ignores: 'eslint,babel-*'

If you feel generous and want to show some extra appreciation:

Buy me a coffee

Inputs

INPUT TYPE REQUIRED DEFAULT DESCRIPTION
dir string false "." The directory to run depcheck
ignores string false Comma separated list of packages
to ignore
version string false "1.4.3" Version of depcheck

Outputs

OUTPUT TYPE DESCRIPTION
exit_code string depcheck exit code

Features

  • Runs dependency checks using a specified location.
  • Ignores specific packages.

Credits

This package was created with Cookiecutter.

Report Bugs

Report bugs at https://github.com/tj-actions/depcheck/issues.

If you are reporting a bug, please include:

  • Your operating system name and version.
  • Any details about your workflow that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Raphael Boidol
Raphael Boidol

📖

This project follows the all-contributors specification. Contributions of any kind welcome!