Skip to content

Commit 9901cf7

Browse files
authored
Fix package-lock update task (#53336)
1 parent 913f65c commit 9901cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-package-lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
run: |
3434
rm package-lock.json
3535
npm install
36-
git add -f package-lock.json
3736
3837
if git diff --exit-code --name-only package-lock.json; then
3938
echo "No change."
@@ -42,6 +41,7 @@ jobs:
4241
npx hereby lkg
4342
git config user.email "[email protected]"
4443
git config user.name "TypeScript Bot"
44+
git add -f package-lock.json
4545
git commit -m "Update package-lock.json"
4646
git push
4747
fi

0 commit comments

Comments
 (0)