This GitHub action will run the command ncu
(tjunnone/npm-check-updates) and will return a value if any dependency need to be updated.
- upgraded (
'1'
or'0'
as string) - Whether dependencies were upgraded - upgrades (string) - Packages that were upgraded, if any
name: Test released version
on: [push]
jobs:
test_released_job:
runs-on: ubuntu-latest
name: A job to test the latest released ncu-upgrade
steps:
- name: Test the released step
id: test_released
uses: thzero/ncu-upgrade@v1
There is an issue with NCC and the @npmcli/run-script
package due to node-gyp
. As such, currently, the @npmcli/run-script
must be pulled into the dist folder directly.