Skip to content

tinovyatkin/action-check-deprecated-js-deps

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

action-check-deprecated-js-deps status

GitHub Action that check JavaScript dependencies deprecations

NPM deprecated packages is sometimes even bigger security or stability risk for a project than known vulnerabilities (that have a lot of monitoring tools). However, there is no easy way to check for deprecation as both npm outdated nor yarn outdated says nothing about deprecated packages.

You may see NPM warning on first install of that package, but those warning can be easily lost in a lot of log messages during install or even will not appear for a mature project.

This action checks for all project dependencies (dependencies, devDependencies and resolutions) and fails the action if a deprecated dependency found:

screenshot of action run

Compatible with Yarn and Lerna monorepos.

Usage

uses: tinovyatkin/action-check-deprecated-js-deps@v1
with:
  ignore: css-mqpacker # you can optionally ignore some deprecations
  root: packages # optionally specify a root folder to search for package.jsons

See the actions tab for runs of this action! 🚀

About

Action that checks if any Javascript dependency (from package.json) is deprecated

Resources

License

Stars

Watchers

Forks

Packages

No packages published