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.
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
If you have an outdated dependency the job will fail with this message in the logs:
dependencies to upgrade: {<name>: <version>}