Fix package-lock update task (#53336)

This commit is contained in:
Jake Bailey 2023-03-20 11:02:26 -07:00 committed by GitHub
parent 913f65c28d
commit 9901cf7daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,6 @@ jobs:
run: |
rm package-lock.json
npm install
git add -f package-lock.json
if git diff --exit-code --name-only package-lock.json; then
echo "No change."
@ -42,6 +41,7 @@ jobs:
npx hereby lkg
git config user.email "typescriptbot@microsoft.com"
git config user.name "TypeScript Bot"
git add -f package-lock.json
git commit -m "Update package-lock.json"
git push
fi