npm: ncu to update package.json as well

This commit is contained in:
Philip H. 2023-12-05 07:31:12 +00:00 committed by GitHub
parent 406ba304d8
commit 145a994349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -23,8 +23,11 @@ jobs:
- name: Bot 🤖 "Updating NPM Packages..." - name: Bot 🤖 "Updating NPM Packages..."
run: | run: |
npm config set -g fund false npm config set -g fund false
npm install -g npm-check-updates
ncu -u
npm update npm update
cd src cd src
ncu -u
npm update npm update
git config --global user.name 'NPM Update Bot' git config --global user.name 'NPM Update Bot'
git config --global user.email 'npmupbot@users.noreply.github.com' git config --global user.email 'npmupbot@users.noreply.github.com'