mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Fix package-lock update task (#53336)
This commit is contained in:
2
.github/workflows/update-package-lock.yaml
vendored
2
.github/workflows/update-package-lock.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user