npm-update-bot.yml: handle legacy peer dependencies

This commit is contained in:
Philip H 2023-11-19 11:12:24 +01:00 committed by GitHub
parent 24560f460b
commit 0006c854cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ jobs:
- name: Bot 🤖 "Updating NPM Packages..." - name: Bot 🤖 "Updating NPM Packages..."
run: | run: |
npm config set fund false npm config set fund false
npm update npm update --legacy-peer-deps
cd src cd src
npm update npm update --legacy-peer-deps
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'
git add . git add .