Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Run depcheck

v9

Run depcheck

check-square

Run depcheck

Analyze npm project dependencies

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Run depcheck

uses: tj-actions/depcheck@v9

Learn more about this action in tj-actions/depcheck

Choose a version

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!