/ncu-action

⬆️ An action to automatically check if your npm modules should be updated.

Primary LanguageJavaScriptMIT LicenseMIT

ncu-action

Test released version CodeFactor Known Vulnerabilities Maintainability Reviewed by Hound

Usage

This Github action is based on tjunnone/npm-check-updates

The action will run the command ncu and will fail if any dependency needs an update.

Example

name: Test released version

on: [push]

jobs:
  test_released_job:
    runs-on: ubuntu-latest
    name: A job to test the latest released ncu-action
    steps:
    - name: Test the released step
      id: test_released
      uses: fzwael/ncu-action@v1
  

Output

If you have an outdated dependency the job will fail with this message in the logs:

dependencies to upgrade: {<name>: <version>}